Javascript Reference
Categories: Number

javascript Number NaN

@March 15, 2008, 1:22 a.m.
NaNFirefox/Netscape/NN 3 IE 4 ECMA 1  


Equal to a value that is not-a-number. JavaScript returns this value when a numerical operation yields a non-numerical result because of a flaw in one of the operands. If you want to test whether a value is not a number, use the isNaN( ) global function rather than comparing to this property value.



Powered by Linode.