3 ms·I'd add that `num !== num` would be faster while `Number.isNaN(num)` would be faster and more readable.by hajile 5y agoI'd add that `num !== num` would be faster while `Number.isNaN(num)` would be faster and more readable.