Table of contents
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. 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)
Typed Array Constructors
Non-constructor functions
Standard global objects (alphabetically)
- Array
- ArrayBuffer
- Boolean
- Date
- decodeURI
- decodeURIComponent
- encodeURI
- encodeURIComponent
- Error
- eval
- EvalError
- Float32Array
- Float64Array
- Function
- Infinity
- Int16Array
- Int32Array
- Int8Array
- isFinite
- isNaN
- Iterator
- JSON
- Math
- Namespace
- NaN
- Number
- Object
- parseFloat
- parseInt
- QName
- RangeError
- ReferenceError
- RegExp
- StopIteration
- String
- SyntaxError
- TypeError
- Uint16Array
- Uint32Array
- Uint8Array
- Uint8ClampedArray
- undefined
- uneval
- URIError
- XML
- XMLList
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 The DOM and JavaScript article.