MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

本章節記錄了 JavaScript 所有標準、內建的物件,以及這些物件的方法與屬性。

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. The global object itself can be accessed using the this operator in the global scope (but only if ECMAScript 5 strict mode is not used; in that case it returns undefined). In fact, the global scope consists of the properties of the global object, including inherited properties, if any.

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. For more information about the distinction between the DOM and core JavaScript, see JavaScript technologies overview.

標準物件分類

數值屬性

These global properties return a simple value; they have no properties or methods.

函數屬性

These global functions—functions which are called globally rather than on an object—directly return their results to the caller.

基礎物件

These are the fundamental, basic objects upon which all other objects are based. This includes objects that represent general objects, functions, and errors.

數字與日期

These are the base objects representing numbers, dates, and mathematical calculations.

文字處理

These objects represent strings and support manipulating them.

具索引的集合

These objects represent collections of data which are ordered by an index value. This includes (typed) arrays and array-like constructs.

具鍵值的集合

These objects represent collections which use keys; these contain elements which are iterable in the order of insertion.

向量集合

SIMD vector data types are objects where data is arranged into lanes.

結構化資料

These objects represent and interact with structured data buffers and data coded using JavaScript Object Notation (JSON).

控制抽象化物件

Reflection

國際化

Additions to the ECMAScript core for language-sensitive functionalities.

WebAssembly

非標準物件

其他

文件標籤與貢獻者

 此頁面的貢獻者: jackblackevo, cwlin0416, teoli, Sheppy
 最近更新: jackblackevo,