Microsoft®
JScript NaN Property (Global) |
Language Reference Version 3
|
Contains an initial value of NaN.
NaN
Stands for "Not a Number". It is the returned value when Math functions fail (Math.sqrt(-1)) or when a function trying to parse a number from a string fails (parseInt("blabla")). The NaN property (not a number) is a member of the Global object, and is made available when the scripting engine is initialized.