JavaScript NaN property
Definition and Usage
NaN attribute is used to refer to a particular non-numeric value. This attribute specifies the number is not illegal.
NaN property Number.Nan the same properties.
Tip: Use theisNaN () to determine whether a value is a number. The reason is that with all NaN values are not equal, including its own.
grammar
Number.NaN
Browser Support
All major browsers support NaN property
technical details
return value: | NaN |
---|---|
JavaScript version: | 1.3 |
JavaScript Global Functions