JavaScript NaN property
Definition and Usage
NaN attribute is a special value representing non-numeric values. This property is used to indicate that a value is not a number.
Number objects can be set to this value, indicating that it is not a numeric value.
Tip: Use theisNaN () global function to determine whether a value is NaN values.
grammar
Number.NaN
Browser Support
All major browsers support NaN property.
technical details
return value: | NaN |
---|---|
JavaScript version: | 1.3 |