Table of Contents
- Tags
- Files
Summary
This chapter documents all the JavaScript objects, along with their methods and properties.
The term "global 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 this
in the global scope. In fact, the global scope consists of the properties of the global object (including inherited properties, if any).
Standard global objects (by category)
General-purpose constructors
Typed array constructors
- ArrayBuffer
- DataView
- Float32Array
- Float64Array
- Int16Array
- Int32Array
- Int8Array
- Uint16Array
- Uint32Array
- Uint8Array
- Uint8ClampedArray
Error constructors
- Error
- EvalError
- InternalError
- RangeError
- ReferenceError
- StopIteration
- SyntaxError
- TypeError
- URIError
Non-constructor functions
- decodeURI
- decodeURIComponent
- encodeURI
- encodeURIComponent
- eval
- isFinite
- isNaN
- parseFloat
- parseInt
- uneval
Other
Standard global objects (alphabetically)
- Array
- ArrayBuffer
- Boolean
- DataView
- Date
- decodeURI
- decodeURIComponent
- encodeURI
- encodeURIComponent
- Error
- eval
- EvalError
- Float32Array
- Float64Array
- Function
- Infinity
- Int16Array
- Int32Array
- Int8Array
- isFinite
- isNaN
- Iterator
- JSON
- Math
- NaN
- Number
- Object
- parseFloat
- parseInt
- RangeError
- ReferenceError
- RegExp
- StopIteration
- String
- SyntaxError
- TypeError
- Uint16Array
- Uint32Array
- Uint8Array
- Uint8ClampedArray
- undefined
- uneval
- URIError
Other objects in the global scope are either created by the user script or provided by the host application. The host objects available in Gecko-based browsers are documented in the Gecko DOM Reference.
For more information about the distinction between the DOM and core JavaScript, see JavaScript technologies overview.