I'm reading about NaN
here and it says that:
A comparison with a NaN always returns an unordered result even when comparing with itself.
I'm confused about the word unordered. For practical reasons, does it mean that comparison will always evaluate to false
? It seems to be the case:
// all statemens below evaluate to false
NaN === NaN
NaN > NaN
NaN < NaN
NaN > 3
NaN < 3
NaN === 3