NaN is not a number. Usually it is caused by a type or declaration error.
Funny parts of NaN
so if you compare NaN to NaN, you will get false.
But if you do isNaN(NaN) - then it is true
var a = "abc";
var b = 4;
var x = a / b;
you should get NaN since you are dividing a string to a number.