This part of the JavaScript section on MDN serves as a repository of facts about the JavaScript language. Read more about this reference.
全域物件
本章節記錄了所有 JavaScript 標準內建物件 以及其方法與屬性。
數值屬性
These global properties return a simple value; they have no properties or methods.
函數屬性
這些全域函式會直接在全域範圍中被呼叫,不用從某個物件取得後呼叫;呼叫後直接回傳結果給執行的人。
eval()uneval()isFinite()isNaN()parseFloat()parseInt()decodeURI()decodeURIComponent()encodeURI()encodeURIComponent()escape()unescape()
基礎物件
These are the fundamental, basic objects upon which all other objects are based. This includes objects that represent general objects, functions, and errors.
ObjectFunctionBooleanSymbolErrorEvalErrorInternalErrorRangeErrorReferenceErrorSyntaxErrorTypeErrorURIError
數字與日期
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.
ArrayInt8ArrayUint8ArrayUint8ClampedArrayInt16ArrayUint16ArrayInt32ArrayUint32ArrayFloat32ArrayFloat64Array
具鍵值的集合
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.
SIMDSIMD.Float32x4SIMD.Float64x2SIMD.Int8x16SIMD.Int16x8SIMD.Int32x4SIMD.Uint8x16SIMD.Uint16x8SIMD.Uint32x4SIMD.Bool8x16SIMD.Bool16x8SIMD.Bool32x4SIMD.Bool64x2
結構化資料
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
WebAssemblyWebAssembly.ModuleWebAssembly.InstanceWebAssembly.MemoryWebAssembly.TableWebAssembly.CompileErrorWebAssembly.LinkErrorWebAssembly.RuntimeError
非標準物件
其他
敘述句
本章節記錄了所有 JavaScript 敘述句與宣告。
表示法與運算子
本章節記錄了所有 JavaScript 表示法與運算子。
函數
本章節說明如何使用 JavaScript 函數 來開發您的應用程式。