This section provides a list of all built-in object types defined in the ECMAScript specification.
The 3rd edition of the ECMAScript specification defines the following built-in object types:
Object - The root object type in the object type tree. All other object types are inherited from the Object object type.
Global - A special object type used to create one and only one object to hold global built-in properties and functions.
Note that ECMAScript only supports one single object of the Global object type. You are not allowed to the Global()
constructor to create other Global objects.
Function - An object type used to create functions. All functions are objects of the Function object type.
Array - An object type used to create arrays. All arrays are objects of the Array object type.
String - An object type used to create string objects. String object type allows you to handle string primitive values
as objects.
Boolean - An object type used to create Boolean objects. Boolean object type allows you to handle Boolean primitive values
as objects.
Number - An object type used to create number objects. Boolean object type allows you to handle number primitive values
as objects.
Date - An object type used to create date and time objects.
RegExp - An object type used to create regular expression objects for text processing.
Error - An object type used to create error objects used in exception handling processes.
Math - A special object type used to create one and only one object to hold mathematics related properties and functions.
See next sections for a quick introduction of each built-in object type defined in the ECMAScript specification.