Global special variable (Definition)

Special variables that are globally available.

Availability:

ECMAScript edition - 2

Some special variables are created in the interpreter to assist with program execution and to define certain special values. You must avoid using these as identifiers.

Here is a list of the special variable names:

Name
Infinity
NaN

Some implementations may allow you to redefine the value of these special variables. This can cause unpredictable side effects later on.

See also:Global object, Infinity, NaN

Cross-references:

ECMA 262 edition 2 - section - 15.1.1

ECMA 262 edition 3 - section - 15.1.1