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.
Tip: Use the isNaN() global function to check if a value is a NaN value.
![]()
The NaN property is supported in all major browsers.
| Return Value: | NaN |
|---|---|
| JavaScript Version: | 1.3 |
Your message has been sent to W3Schools.