--- title: JavaScript 參考文件 slug: Web/JavaScript/Reference tags: - JavaScript - NeedsTranslation translation_of: Web/JavaScript/Reference ---
在 MDN 的 JavaScript 分區中,這一部分被作爲 Javascript 的資料庫。閱讀關於該參考以了解更多。
本章節記錄了所有 JavaScript 標準內建物件 以及其方法與屬性。
{{JSxRef("Infinity")}}
   {{JSxRef("NaN")}}
   {{JSxRef("undefined")}}
   {{JSxRef("globalThis")}}
{{JSxRef("Global_Objects/eval", "eval()")}}
   {{JSxRef("Global_Objects/isFinite", "isFinite()")}}
   {{JSxRef("Global_Objects/isNaN", "isNaN()")}}
   {{JSxRef("Global_Objects/parseFloat", "parseFloat()")}}
   {{JSxRef("Global_Objects/parseInt", "parseInt()")}}
   {{JSxRef("Global_Objects/decodeURI", "decodeURI()")}}
   {{JSxRef("Global_Objects/decodeURIComponent", "decodeURIComponent()")}}
   {{JSxRef("Global_Objects/encodeURI", "encodeURI()")}}
   {{JSxRef("Global_Objects/encodeURIComponent", "encodeURIComponent()")}}
{{JSxRef("Object")}}
   {{JSxRef("Function")}}
   {{JSxRef("Boolean")}}
   {{JSxRef("Symbol")}}
{{JSxRef("Error")}}
   {{JSxRef("AggregateError")}}
   {{JSxRef("EvalError")}}
   {{JSxRef("InternalError")}}
   {{JSxRef("RangeError")}}
   {{JSxRef("ReferenceError")}}
   {{JSxRef("SyntaxError")}}
   {{JSxRef("TypeError")}}
   {{JSxRef("URIError")}}
{{JSxRef("Number")}}
   {{JSxRef("BigInt")}}
   {{JSxRef("Math")}}
   {{JSxRef("Date")}}
{{JSxRef("String")}}
   {{JSxRef("RegExp")}}
{{JSxRef("Map")}}
   {{JSxRef("Set")}}
   {{JSxRef("WeakMap")}}
   {{JSxRef("WeakSet")}}
{{JSxRef("ArrayBuffer")}}
   {{JSxRef("SharedArrayBuffer")}}
   {{JSxRef("Atomics")}}
   {{JSxRef("DataView")}}
   {{JSxRef("JSON")}}
{{JSxRef("Promise")}}
   {{JSxRef("Generator")}}
   {{JSxRef("GeneratorFunction")}}
   {{JSxRef("AsyncFunction")}}
{{JSxRef("Reflect")}}
   {{JSxRef("Proxy")}}
{{JSxRef("Intl")}}
   {{JSxRef("Global_Objects/Collator", "Intl.Collator")}}
   {{JSxRef("Global_Objects/DateTimeFormat", "Intl.DateTimeFormat")}}
   {{JSxRef("Global_Objects/ListFormat", "Intl.ListFormat")}}
   {{JSxRef("Global_Objects/NumberFormat", "Intl.NumberFormat")}}
   {{JSxRef("Global_Objects/PluralRules", "Intl.PluralRules")}}
   {{JSxRef("Global_Objects/RelativeTimeFormat", "Intl.RelativeTimeFormat")}}
   {{JSxRef("Global_Objects/Locale", "Intl.Locale")}}
{{JSxRef("WebAssembly")}}
   {{JSxRef("WebAssembly.Module")}}
   {{JSxRef("WebAssembly.Instance")}}
   {{JSxRef("WebAssembly.Memory")}}
   {{JSxRef("WebAssembly.Table")}}
   {{JSxRef("WebAssembly.CompileError")}}
   {{JSxRef("WebAssembly.LinkError")}}
   {{JSxRef("WebAssembly.RuntimeError")}}
本章節記錄了所有 JavaScript 敘述句與宣告。
{{jsxref("Statements/var", "var")}}
   {{jsxref("Statements/let", "let")}}
   {{jsxref("Statements/const", "const")}}
{{jsxref("Statements/function", "function")}}
   {{jsxref("Statements/function*", "function*")}}
   {{jsxref("Statements/async_function", "async function")}}
   {{jsxref("Statements/return", "return")}}
   {{jsxref("Statements/class", "class")}}
{{jsxref("Statements/do...while", "do...while")}}
   {{jsxref("Statements/for", "for")}}
   {{jsxref("Statements/for_each...in", "for each...in")}}
   {{jsxref("Statements/for...in", "for...in")}}
   {{jsxref("Statements/for...of", "for...of")}}
   {{jsxref("Statements/for-await...of", "for await...of")}}
   {{jsxref("Statements/while", "while")}}
{{jsxref("Statements/debugger", "debugger")}}
   {{jsxref("Statements/import", "import")}}
   {{jsxref("Statements/label", "label")}}
   {{jsxref("Statements/with", "with")}}
本章節記錄了所有 JavaScript 表示法與運算子。
{{JSxRef("Operators/Property_accessors", "Property accessors", "", 1)}}
   {{JSxRef("Operators/new", "new")}}
   {{JSxRef("Operators/new%2Etarget", "new.target")}}
   {{JSxRef("Operators/super", "super")}}
   {{JSxRef("Operators/Spread_syntax", "...obj")}}
{{JSxRef("Operators/Arithmetic_Operators", "A++", "#Increment")}}
   {{JSxRef("Operators/Arithmetic_Operators", "A--", "#Decrement")}}
   {{JSxRef("Operators/Arithmetic_Operators", "++A", "#Increment")}}
   {{JSxRef("Operators/Arithmetic_Operators", "--A", "#Decrement")}}
{{JSxRef("Operators/delete", "delete")}}
   {{JSxRef("Operators/void", "void")}}
   {{JSxRef("Operators/typeof", "typeof")}}
   {{JSxRef("Operators/Arithmetic_Operators", "+", "#Unary_plus")}}
   {{JSxRef("Operators/Arithmetic_Operators", "-", "#Unary_negation")}}
   {{JSxRef("Operators/Bitwise_Operators", "~", "#Bitwise_NOT")}}
   {{JSxRef("Operators/Logical_Operators", "!", "#Logical_NOT")}}
{{JSxRef("Operators/Arithmetic_Operators", "+", "#Addition")}}
   {{JSxRef("Operators/Arithmetic_Operators", "-", "#Subtraction")}}
   {{JSxRef("Operators/Arithmetic_Operators", "/", "#Division")}}
   {{JSxRef("Operators/Arithmetic_Operators", "*", "#Multiplication")}}
   {{JSxRef("Operators/Arithmetic_Operators", "%", "#Remainder")}}
   {{JSxRef("Operators/Arithmetic_Operators", "**", "#Exponentiation")}}
{{JSxRef("Operators/in", "in")}}
   {{JSxRef("Operators/instanceof", "instanceof")}}
   {{JSxRef("Operators/Comparison_Operators", "<", "#Less_than_operator")}}
   {{JSxRef("Operators/Comparison_Operators", ">", "#Greater_than_operator")}}
   {{JSxRef("Operators/Comparison_Operators", "<=", "#Less_than_or_equal_operator")}}
   {{JSxRef("Operators/Comparison_Operators", ">=", "#Greater_than_or_equal_operator")}}
{{JSxRef("Operators/Comparison_Operators", "==", "#Equality")}}
   {{JSxRef("Operators/Comparison_Operators", "!=", "#Inequality")}}
   {{JSxRef("Operators/Comparison_Operators", "===", "#Identity")}}
   {{JSxRef("Operators/Comparison_Operators", "!==", "#Nonidentity")}}
{{JSxRef("Operators/Bitwise_Operators", "<<", "#Left_shift")}}
   {{JSxRef("Operators/Bitwise_Operators", ">>", "#Right_shift")}}
   {{JSxRef("Operators/Bitwise_Operators", ">>>", "#Unsigned_right_shift")}}
{{JSxRef("Operators/Logical_Operators", "&&", "#Logical_AND")}}
   {{JSxRef("Operators/Logical_Operators", "||", "#Logical_OR")}}
{{JSxRef("Operators/Conditional_Operator", "(condition ? ifTrue : ifFalse)")}}
{{JSxRef("Operators/Assignment_Operators", "=", "#Assignment")}}
   {{JSxRef("Operators/Assignment_Operators", "*=", "#Multiplication_assignment")}}
   {{JSxRef("Operators/Assignment_Operators", "/=", "#Division_assignment")}}
   {{JSxRef("Operators/Assignment_Operators", "%=", "#Remainder_assignment")}}
   {{JSxRef("Operators/Assignment_Operators", "+=", "#Addition_assignment")}}
   {{JSxRef("Operators/Assignment_Operators", "-=", "#Subtraction_assignment")}}
   {{JSxRef("Operators/Assignment_Operators", "<<=", "#Left_shift_assignment")}}
   {{JSxRef("Operators/Assignment_Operators", ">>=", "#Right_shift_assignment")}}
   {{JSxRef("Operators/Assignment_Operators", ">>>=", "#Unsigned_right_shift_assignment")}}
   {{JSxRef("Operators/Assignment_Operators", "&=", "#Bitwise_AND_assignment")}}
   {{JSxRef("Operators/Assignment_Operators", "^=", "#Bitwise_XOR_assignment")}}
   {{JSxRef("Operators/Assignment_Operators", "|=", "#Bitwise_OR_assignment")}}
   {{JSxRef("Operators/Destructuring_assignment", "[a, b] = [1, 2]")}}
   {{JSxRef("Operators/Destructuring_assignment", "{a, b} = {a:1, b:2}")}}
本章節說明如何使用 JavaScript 函數 來開發您的應用程式。