Udostępnij za pośrednictwem


NaN Property (Global)

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

NaN

Remarks

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.

Requirements

Version 3

Applies To:

Global Object

See Also

Reference

isNaN Method