Microsoft® JScript™
NaN Property (Global)
 Language Reference 
Version 3 

See Also                  Applies To


Description
Contains an initial value of NaN.
Syntax
NaN
Remarks
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.


© 1997 by Microsoft Corporation. All rights reserved.