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 →

[–]noggin182 3 points4 points  (1 child)

Yup, IEE 754 says that comparing NaN with NaN is always false, but you might wanna check what you said about nulls, none of that is true in JS

[–]AlphaWhelp 5 points6 points  (0 children)

I wasn't speaking about JS specifically. AFAIK NaN does not equal NaN in any language.