JavaScript NaN Property
- Previous Page isNaN()
- Next Page Number()
- Go to the Previous Level JavaScript Global Reference Manual
Definition and Usage
NaN
The property represents a non-numeric value ("Not-a-Number"). This property indicates that the value is not a valid number.
The NaN property is the same as the Number.Nan property.
Tip:Please use isNaN()
The function checks if the value is a NaN value.
Grammar
Number.NaN
Browser Support
Properties | Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
NaN | Support | Support | Support | Support | Support |
Technical Details
Return Value: | NaN |
---|---|
JavaScript Version: | ECMAScript 1 |
- Previous Page isNaN()
- Next Page Number()
- Go to the Previous Level JavaScript Global Reference Manual