The following number constants are properties of the Number object.
Number Object Constants
You do not have to create Number object to access these constants.
|Number.NaN||A value that is not a number.In equality comparisons, NaN does not equal any value, including itself. To test whether a value is equivalent to NaN , use the isNaN function.|
Microsoft Developer Network: Article