Share via


NaN Property

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

Number.NaN

Arguments

  • Number
    Required. The global Number object.

Remarks

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 method of the Global object.

Requirements

Version 2

Applies To:

Number Object

See Also

Reference

isNaN Method

MAX_VALUE Property

MIN_VALUE Property

NEGATIVE_INFINITY Property

POSITIVE_INFINITY Property

toString Method