Compartir a través de


NaN Property (Windows Scripting - JScript)

 

A special value that indicates an arithmetic expression returned a value that was not a number.

Syntax

Number.NaN

Remarks

The number argument is the Number object.

The Number object does not have to be created before the NaN property can be accessed.

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

Requirements

Version 2

Applies To: Number Object (Windows Scripting - JScript)

See Also

isNaN Method (Windows Scripting - JScript)
MAX_VALUE Property (Windows Scripting - JScript)
MIN_VALUE Property (Windows Scripting - JScript)
NEGATIVE_INFINITY Property (Windows Scripting - JScript)
POSITIVE_INFINITY Property (Windows Scripting - JScript)
toString Method (Windows Scripting - JScript)