Skip navigation
peak javascript moment: if you call setInterval with a timeout greater than INT_MAX, instead of…
0:00 / 0:14

peak javascript moment: if you call setInterval with a timeout greater than INT_MAX, instead of…

David Gu

@davidgu3.8K followers

Visit on X

392,655 views

peak javascript moment: if you call setInterval with a timeout greater than INT_MAX, instead of throwing an error (the sane thing to do), setInterval will silently execute your callback **every millisecond**

Comments

Comments from the original post on X (Twitter)

No comments yet