Previous PageNext Page

7.21.3 NaN Property

A special value that indicates an arithmetic expression returned a value that was not a number.
 

Syntax

Number.NaN

number
The Number object.

Remarks

The Number object does not have to be created before the NaN property can be accessed.
 
NaN does not compare equal to any value, including itself. To test if a value is equivalent to NaN, use the isNaN function.
 

Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page