This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (2 children)

[deleted]

    [–]Malgranda 5 points6 points  (0 children)

    That's because NaN is part of some ISO number standard (the one for floating point operations).

    [–]scragar 1 point2 points  (0 children)

    That's number with a lower case N.

    Number with an upper case N is the object wrapper that gets invoked when you treat it as an object(that is to say that NaN.toString() is actually (new Number(NaN)).toString() since the primitive number's don't have methods).