JavaScript NaNProperty
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 the Number object to this value to indicate that it is not a numeric value.
Tip:Please use the isNaN() global function to determine whether a value is a NaN value.
Syntax
Number.NaN
Browser Support
![]()
![]()
![]()
![]()
![]()
All major browsers support the NaN property.
Technical Details
| Return value: | NaN |
|---|---|
| JavaScript version: | 1.3 |
Other Extensions
JavaScript Number Object