Global Properties

Core JavaScript defines two global constants:

Infinity

A numeric constant that represents infinity. Internet Explorer 4; ECMA-262; not supported by Navigator 4.

NaN

The not-a-number constant. Internet Explorer 4; ECMA-262; not supported by Navigator 4.

In addition to these core global properties, the Window object defines a number of client-side global properties.

Get Webmaster in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.