Which other literal values apart from NaN - are not equal to themselves

34 views Asked by At

It's a known fact in Js that the value NaN is not equal to itself

console.log(NaN === NaN)
// false

Which other Javascript literal values are not equal to themselves - or is NaN the only value??

I've already checked and found that undefined, null, Infinity, -Infinity are all equal to each other.

0

There are 0 answers