Javascript Reference - JavaScript NaN Property








The NaN property represents "Not-a-Number" value. This property indicates that a value is not a legal number.

The NaN property is the same as the Number.Nan property.

Syntax

Number.NaN

Browser Support

NaN Yes Yes Yes Yes Yes

Return Value

NaN