We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

NaN Property (Global)

Returns the special value NaN indicating that an expression is not a number.


The NaN property (not a number) is a member of the Global object, and is made available when the scripting engine is initialized.

NaN does not compare equal to any value, including itself. To test if a value is equivalent to NaN, use the isNaN method of the Global object.