typeOf(NaN)
jcubic opened this issue · comments
It returns "number". is it intentional?
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 be rounded to fit, but NaN is a special case). A specific NaN is not considered equal to another NaN because they may be different values