Appendix B. JavaScript Global Objects
There are quite a number of global objects available in JavaScript. Some of these are standard ECMAScript classes such as Array
and Boolean
, but some are proprietary objects like Enumerator
and VBArray
. Be sure to read Chapter 6: The Global and Object Objects for more information on global objects.
Table B.1. List of Objects
Object | Support | Description |
---|---|---|
| IE3+ | Enables and returns a reference to an ActiveX object. |
| CH1+, FF1+, IE4+, NN3+, O3+, SF1+ | Provides for arrays of any data type. |
| CH1+, FF1+, IE4+, NN3+, O3+, SF1+ | Provides for |
| CH1+, FF1+, IE3+, NN2+, O3+, SF1+ | An object describing localized date and time values as well as providing a means for working with them. |
| IE4+ | An Internet Explorer-specific object for logging messages to a debug console. |
| IE4+ | Enables enumeration of items in a collection. VBScript Only. |
| CH1+, FF1+, IE5+, NN6+, O7+, SF1+ | The parent object for all exceptions. |
| CH1+, FF1+, IE3+, NN2+, O3+, SF1+ | Represents all functions. |
| FF3.5+, IE8+ | Provides methods to convert JavaScript values to and from the JavaScript Object Notation (JSON) format. This is supported in Internet Explorer 8 and Firefox 3.5. |
| CH1+, FF1+, IE3+, NN2+, O3+, SF1+ | A built-in object containing properties and methods useful in mathematical computation. |
| CH1+, FF1+, IE3+, NN2+, O3+, SF1+ | Represents all numeric types including integers and floating point values. |
| CH1+, FF1+, IE3+, NN3+, O3+, SF1+ |
Get JavaScript® Programmer's Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.