本章记录了所有 JavaScript 的标准内置对象,包括它们的方法和属性。

¥This chapter documents all of JavaScript's standard, built-in objects, including 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.

可以在全局范围内使用 this 运算符来访问全局对象本身。事实上,全局范围由全局对象的属性组成,包括继承的属性(如果有)。

¥The global object itself can be accessed using the this operator in the global scope. In fact, the global scope consists of the properties of the global object, including inherited properties, if any.

全局范围内的其他对象要么是 由用户脚本创建,要么是由主机应用提供。浏览器上下文中可用的主机对象记录在 API 参考。

¥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.

有关 DOM 和核心 JavaScript 之间区别的更多信息,请参阅 JavaScript 技术概述。

¥For more information about the distinction between the DOM and core JavaScript, see JavaScript technologies overview.