Why does typeof NaN return ‘number’?
Well, it may seem a little strange that something called “not a number” is considered a number, but NaN is still a numeric type, despite that fact 🙂 NaN just means the specific value cannot be represented within the limitations of the numeric type (although that could be said for all numbers that have to … Read more