Standard built-in objects
This chapter documents all of JavaScript's standard, built-in objects, including their methods and properties.
The term "global objects" (or standard built-in objects) here is not to be confused withthe global object. Here, "global objects" refer toobjects in the global scope.
Theglobal object itself can be accessed using thethis
operator in the global scope. In fact, the global scopeconsists of the properties of the global object, including inherited properties, if any.
Other objects in the global scope are eithercreated by the user script or provided by the host application. The host objects available in browser contexts are documented in theAPI reference.
For more information about the distinction between theDOM and coreJavaScript, seeJavaScript technologies overview.
Standard objects by category
Value properties
These global properties return a simple value. They have no properties or methods.
Function properties
These global functions—functions which are called globally, rather than on an object—directly return their results to the caller.
Fundamental objects
Error objects
Error objects are a special type of fundamental object. They include the basicError
type, as well as several specialized error types.
Numbers and dates
Text processing
Indexed collections
These objects represent collections of data which are ordered by an index value. This includes (typed) arrays and array-like constructs.
Keyed collections
Structured data
These objects represent and interact with structured data buffers and data coded using JavaScript Object Notation (JSON).
Managing memory
These objects interact with the garbage collection mechanism.
Control abstraction objects
Control abstractions can help to structure code, especially async code (without using deeply nested callbacks, for example).
Reflection
Internationalization
Additions to the ECMAScript core for language-sensitive functionalities.