
mozilla.org
https://developer.mozilla.org/en-US/docs/Web/JavaS…
NaN - JavaScript - MDN
When NaN is one of the operands of any relational comparison (>, <, >=, <=), the result is always false. NaN compares unequal (via ==, !=, ===, and !==) to any other value — including to another NaN value.