JavaScript NaN property
Definition and Usage
The NaN property is a special value representing a non-numeric value. This property is used to indicate that a value is not a number.
You can set a Number object to this value to indicate that it is not a numeric value.
Tip: Use the global function isNaN() to determine whether a value is NaN.
Syntax
Number.NaN
Browser support





All major browsers support the NaN property.
Technical Details
| Return Value: | NaN |
|---|---|
| JavaScript version: | 1.3 |
JavaScript Number object