NaN Property

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


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.


Version 2

See Also

isNaN Method | MAX_VALUE Property | MIN_VALUE Property | NEGATIVE_INFINITY Property | POSITIVE_INFINITY Property | toString Method

Applies To: Number Object