Export (0) Print
Expand All

2.1.1.1 Global State

The following state is shared by the conditional source text processing of all independent source texts that make up an ECMAScript program (see [ECMA-262/5] section 14). The state is initialized prior to the first such processing as follows:

  1. SubstitutionEnabled Boolean flag with an initial value of false.

  2. CCvariables A set of associations between string valued keys and values. The keys are strings. The values may be either ECMAScript Number ([ECMA-262/5] section 8.5) or Boolean ([ECMA-262/5] section 8.3) values. The initial associations are defined in the following table.

Key

Initial Value

"_win32"

Defined as true if this Internet Explorer ECMAScript implementation is a Microsoft 32-bit–based implementation. Otherwise, this association is not initially defined.

"_win64"

Defined as true if this Internet Explorer ECMAScript implementation is a Microsoft 64-bit–based implementation. Otherwise, this association is not initially defined.

"_x86"

Defined as true when running on a processor using the x86-based architecture. Otherwise, this association is not initially defined.

"_ia64"

Defined as true when running on a processor using the Itanium 64-bit architecture. Otherwise, this association is not initially defined.

"_amd64"

Defined as true when running on a processor using the x64 architecture. Otherwise, this association is not initially defined.

"_jscript"

true

"_jscript_build"

Number value that identifies the specific build of the Internet Explorer ECMAScript implementation that is running.

"_jscript_version"

Number value that represents the version of the Internet Explorer ECMAScript language implementation. The value 9 indicates that the implementation only supports features of the Internet Explorer 9 ECMAScript language.

"_microsoft"

Defined as true when running on a Microsoft ECMAScript implementation provided by Microsoft. Otherwise, this association is not initially defined.

Show:
© 2014 Microsoft