Comment Comment by peterfoldi NaN is not equal to NaN by the IEEE 754 standard. JavaScript, and many other modern languages, implement floating point numbers by this standard. E.g. in C#:> 0.0/0.0 == Double.NaNfalse parent peterfoldi 10 years ago
> 0.0/0.0 == Double.NaN
false