Easy Tutorial
❮ Prop Frame Noresize Prop Hidden Value ❯

JavaScript NaN Property

JavaScript Global Functions


Definition and Usage

NaN stands for Not a Number. The NaN property is used to reference the special non-numeric value. It does not represent an illegal number.

The NaN property is the same as the Number.NaN property.

Note: Use the isNaN() function to determine if a value is a number. This is because NaN is not equal to any value, including itself.

Syntax


Browser Support

All major browsers support the NaN property.


Technical Details

Return Value: NaN
JavaScript Version: 1.3
--- ---

JavaScript Global Functions

❮ Prop Frame Noresize Prop Hidden Value ❯