Native object (Definition)

One of the built-in objects that the core implementation provides.

Availability:

ECMAScript edition - 2

A native object is any object supplied by the interpreter that is not considered part of the hosting environment.

Some native objects are built in to the core interpreter while others may be constructed by executing script code. These are sometimes called built-in objects.

Here is a list of native object types that all ECMA compliant interpreters must support:

The Global object is added to the scope chain of a program when it commences execution. Other built-in objects are accessible as initial properties of the Global object. Some of these are added as core functionality and are available in all implementations. Others are added as host objects defined differently for each implementation.

Many built-in objects are functions. They can be invoked with arguments. Some of these are constructors, most are associated with objects so that they can be used as methods. These are functions that are intended to be used with the new operator.

See also:Array object, Boolean object, Built-in function, Built-in object, Cast operator, Date object, Function object, Global object, Math object, Navigator.appVersion, Number object, Object object, prototype property, String object

Cross-references:

ECMA 262 edition 2 - section - 4.3.6

ECMA 262 edition 2 - section - 8.6.2

ECMA 262 edition 2 - section - 15

ECMA 262 edition 3 - section - 4.3.6

ECMA 262 edition 3 - section - 8.6.2

ECMA 262 edition 3 - section - 15