var a = NaN; isNaN(a); // true because a has the value NaN isNaN = function(x) { return x < 5; }; isNaN(a); // false