3 ms·
> If your code would misbehave outside a certain range of values and you're input might span a larger range, you should be checking your input against the range
by paulddraper 2y ago
> If your code would misbehave outside a certain range of values and you're input might span a larger range, you should be checking your input against the range that's valid.
What's funny is you think that about the caller of setTimeout but not setTimeout itself :)