Core JavaScript 1.5 Reference:Global Objects
From MDC
This chapter documents all the JavaScript 1.5 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.
- Array数组
- Boolean
- Date日期
- Error错误
- Function函数
- java
- JavaArray
- JavaClass
- JavaObject
- JavaPackage
- Math数学
- netscape
- Number数字
- Object对象
- Packages包
- RegExp正则表达式
- String字符串
- sun
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.