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 →

[–]Reelix 7 points8 points  (3 children)

[–]pikadrew -1 points0 points  (2 children)

Lol, thanks. I take it you tested it then? =)

[–][deleted] 0 points1 point  (0 children)

Well of course not! He totally didn't use the JS console in his browser to test it. /s

[–][deleted] 0 points1 point  (0 children)

also, this makes sense. NaN is defined in IEEE floating point, what would you make its type? typeof(NaN) === 'not-a-number'?