3 ms·
Careful with that: https://jakearchibald.com/2021/function-callback-risks/ https://jakearchibald.com/2021/function-callback-risks/ Using `Number` is probably s
by davidmurdoch 6y ago
Careful with that: https://jakearchibald.com/2021/function-callback-risks/ https://jakearchibald.com/2021/function-callback-risks/
Using `Number` is probably safe because it'd break much of the web of it were changed. Also note that it is not equivalent to parseInt, as Number and parseInt apply different parsing rules.
- dividuum 6y agoThanks for linking that post. I meant to include it in my comment but wasn't able to find it again.