Standard built-in objects
Summary
This chapter documents all the JavaScript standard built-in objects, along with their methods and properties.
The term "global objects" (or standard built-in objects) here is not to be confused with the global object. Here, global objects refer to objects in the global scope (but only if ECMAScript 5 strict mode is not used! Otherwise it returns undefined
). The global object itself can be accessed by the this
(en-US) operator in the global scope. In fact, the global scope consists of the properties of the global object (including inherited properties, if any).
Other objects in the global scope are either created by the user script or provided by the host application. The host objects available in browser contexts are documented in the API reference. For more information about the distinction between the DOM and core JavaScript, see JavaScript technologies overview.
Standard objects (by category)
Value properties
Global properties returning a simple value.
Function properties
Global functions returning the result of a specific routine.
eval()
(en-US)uneval()
(en-US)isFinite()
(en-US)isNaN()
(en-US)parseFloat()
(en-US)parseInt()
(en-US)decodeURI()
(en-US)decodeURIComponent()
(en-US)encodeURI()
(en-US)encodeURIComponent()
(en-US)escape()
(en-US)unescape()
(en-US)
Fundamental objects
General language objects, functions and errors.
Object
Function
Boolean
Symbol
Error
EvalError
InternalError
RangeError
ReferenceError
StopIteration
SyntaxError
TypeError
URIError
Numbers and dates
Objects dealing with numbers, dates and mathematical calculations.
Text processing
Objects for manipulating texts.
Indexed collections
Collections ordered by an index. Array-type objects.
Array
Int8Array
Uint8Array
Uint8ClampedArray
Int16Array
Uint16Array
Int32Array
Uint32Array
Float32Array
Float64Array
ParallelArray
Keyed collections
Collections of objects as keys. Elements iterable in insertion order.
Structured data
Data buffers and JavaScript Object Notation.
Control abstraction objects
Reflection
Internationalization
Additions to the ECMAScript core for language-sensitive functionalities.
Other