Is there any value for what x === x
returns false
without NaN?
For example:
> x = 1
1
> x === x
true
> x = {}
{}
> x === x
true
> x = new Date()
Wed Nov 13 2013 15:44:22 GMT+0200 (EET)
> x === x
true
> x = NaN
NaN
> x === x
false
I see that the only value where x === x
returns false
is when isNaN(x) === true
.
Is there another value of x
for what x === x
returns false
? An official reference would be welcome!