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 properties
- Function properties
eval()
isFinite()
isNaN()
parseFloat()
parseInt()
decodeURI()
decodeURIComponent()
encodeURI()
encodeURIComponent()
- Fundamental objects
- Error objects
Error
AggregateError
EvalError
InternalError
RangeError
ReferenceError
SyntaxError
TypeError
URIError
- Numbers & dates
- Text processing
- Indexed Collections
Array
Int8Array
Uint8Array
Uint8ClampedArray
Int16Array
Uint16Array
Int32Array
Uint32Array
Float32Array
Float64Array
BigInt64Array
BigUint64Array
- Keyed collections
- Structured data
- Control abstraction
- Reflection
- Internationalization
Intl
Intl.Collator
Intl.DateTimeFormat
Intl.DisplayNames
Intl.ListFormat
Intl.Locale
Intl.NumberFormat
Intl.PluralRules
Intl.RelativeTimeFormat
- WebAssembly
WebAssembly
WebAssembly.Module
WebAssembly.Instance
WebAssembly.Memory
WebAssembly.Table
WebAssembly.CompileError
WebAssembly.LinkError
WebAssembly.RuntimeError
Statements
JavaScript statements and declarations
- Control flow
Block
break
continue
Empty
if...else
switch
throw
try...catch
- Declarations
- Functions and classes
- Iterations
do...while
for
for each...in
for...in
for...of
for await...of
while
Expressions and operators
JavaScript expressions and operators.
- Primary expressions
this
function
class
function*
yield
yield*
async function
await
[]
{}
/ab+c/i
( )
null
- Left-hand-side expressions
- Increment & decrement
- Unary operators
- Arithmetic operators
- Relational operators
- Equality operators
- Bitwise shift operators
Functions
This chapter documents how to work with JavaScript functions to develop your applications.