THE WORLD'S LARGEST WEB DEVELOPER SITE

JavaScript NaN Property

Function Reference JavaScript Global Functions

Definition and Usage

The NaN property represents "Not-a-Number" value. This property indicates that a value is not a legal number.

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

Tip: Use the isNaN() function to check if a value is a NaN value.

Syntax

Number.NaN

Browser Support

Property
NaN Yes Yes Yes Yes Yes

Technical Details

Return Value: NaN
JavaScript Version: 1.3

Function Reference JavaScript Global Functions

COLOR PICKER

colorpicker

SHARE THIS PAGE






Search w3schools.com:

Translate w3schools.com: