Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
gregoriol
· 2y ago · 0 comments
I don't think there is any guarantee that setTimeout will run at exactly 1000. Though didn't expect it to run earlier, it definitely could run later.
Comments
[–]
bufferoverflow
2y ago
Same. I expected it could take a few ms longer. But less? Apparently that's a thing.