NaN constant

A predefined variable with the IEEE-754 value for NaN (not a number). To determine if a number is NaN, use isNaN().

See also

isNaN function, NaN (Number.NaN property)