X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

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() global function to check if a value is a NaN value.

Syntax

Number.NaN


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The NaN property is supported in all major browsers.


Technical Details

Return Value: NaN
JavaScript Version: 1.3


Function Reference JavaScript Global Functions

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook