Hosting Solutions
mobile_logo Table of Contents
seal_frontseal_back

NaN

The NaN property of the Global object represents the return value "NaN"(Not-a-Number). For instance when the Math interface is used on values that are not numeric, this value is returned to the script.

The following code example produces a NaN return value: var x = "hi"; alert( Math.round(x) );

JavaScript

Properties

bodycalleeclosedcookiedocumentdropEffecteffectAllowedfilesframeElementframeshistoryInfinityinnerHeightinnerHTMLinnerWidthlengthlocationlocationbarnameNaNnavigatornullopenerouterHeightparentprototypescreenstatetextContentundefined