This part of the JavaScript section on MDN serves as a repository of facts about the JavaScript language. Read more about this reference. Built-ins
JavaScript standard built-in objects, along with their methods and properties. Value propertiesglobalThis Infinity NaN undefined
Function propertieseval() isFinite() isNaN() parseFloat() parseInt() decodeURI() decodeURIComponent() encodeURI() encodeURIComponent()
Fundamental objectsObject Function Boolean Symbol
Error
objectsError EvalError RangeError ReferenceError SyntaxError TypeError URIError AggregateError
Indexed CollectionsArray Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array BigInt64Array BigUint64Array Float32Array Float64Array
Structured dataArrayBuffer SharedArrayBuffer DataView Atomics JSON
Memory managementWeakRef FinalizationRegistry
Control abstractionPromise GeneratorFunction AsyncGeneratorFunction Generator AsyncGenerator AsyncFunction
InternationalizationIntl Intl.Collator
Intl.DateTimeFormat Intl.DisplayNames Intl.ListFormat Intl.Locale Intl.NumberFormat Intl.PluralRules Intl.RelativeTimeFormat Intl.Segmenter
StatementsJavaScript statements and declarations Control flow- Block
- Empty statement
break continue if...else switch throw try...catch
Functions and classesfunction function* async function async function* return class
Iterationsdo...while for for...in for...of for await...of while
Otherdebugger export import label with
Expressions and operatorsJavaScript expressions and operators. Primary expressionsthis function class function* yield yield* async function async function* await [] {} /ab+c/i ( ) null
Left-hand-side expressions- Property accessors
?. (Optional chaining)new new.target import.meta super ...obj
Conditional (ternary) operator(condition ? ifTrue : ifFalse)
Assignment operators= *= **= /= %= += -= <<= >>= >>>= &= ^= |= &&= ||= ??= [a, b] = arr { a, b } = obj
FunctionsJavaScript functions.
- Arrow Functions
- Default parameters
- Rest parameters
arguments - Method definitions
- getter
- setter
ClassesJavaScript classes. Additional reference pages- Lexical grammar
- Data types and data structures
- Strict mode
- Deprecated features
|