Skip to main content
All Symbols - Web documentation
f
addEventListener

Registers an event listener in the global scope, which will be calledsynchronously whenever the event type is dispatched.

f
alert

Shows the given message and waits for the enter key pressed.

f
atob

Decodes a string of data which has been encoded using base-64 encoding.

f
btoa

Creates a base-64 ASCII encoded string from the input string.

v
caches
No documentation available
f
clearInterval

Cancels a timed, repeating action which was previously started by a callto setInterval()

f
clearTimeout

Cancels a scheduled action initiated by setTimeout()

f
close
No documentation available
v
closed
No documentation available
f
confirm

Shows the given message and waits for the answer. Returns the user's answer as boolean.

v
console
No documentation available
f
createImageBitmap

Create a new ImageBitmap object from a given source.

v
crypto
No documentation available
f
dispatchEvent

Dispatches an event in the global scope, synchronously invoking anyregistered event listeners for this event in the appropriate order. Returnsfalse if event is cancelable and at least one of the event handlers whichhandled this event called Event.preventDefault(). Otherwise it returns true.

f
fetch

Fetch a resource from the network. It returns a Promise that resolves to theResponse to that Request, whether it is successful or not.

c
GPU
No documentation available
c
GPUBindGroup
No documentation available
c
GPUBindGroupLayout
No documentation available
c
GPUColorWrite
No documentation available
c
GPUCommandBuffer
No documentation available
c
GPUComputePipeline
No documentation available
c
GPUError
No documentation available
c
GPUInternalError
No documentation available
c
GPUMapMode
No documentation available
c
GPUOutOfMemoryError
No documentation available
c
GPUPipelineError
No documentation available
c
GPUPipelineLayout
No documentation available
c
GPUQuerySet
No documentation available
c
GPURenderBundle
No documentation available
c
GPURenderPipeline
No documentation available
c
GPUSampler
No documentation available
c
GPUShaderModule
No documentation available
c
GPUShaderStage
No documentation available
c
GPUTextureView
No documentation available
c
GPUUncapturedErrorEvent
No documentation available
c
GPUValidationError
No documentation available
N
Intl
No documentation available
I
Intl.DateTimeFormatRangePart
No documentation available
T
Intl.Formattable
No documentation available
v
localStorage
No documentation available
v
location
No documentation available
v
name
No documentation available
v
navigator
No documentation available
v
onbeforeunload
No documentation available
v
onerror
No documentation available
v
onload
No documentation available
v
onunhandledrejection
No documentation available
v
onunload
No documentation available
v
performance
No documentation available
f
prompt

Shows the given message and waits for the user's input. Returns the user's input as string.

f
queueMicrotask

A microtask is a short function which is executed after the function ormodule which created it exits and only if the JavaScript execution stack isempty, but before returning control to the event loop being used to drive thescript's execution environment. This event loop may be either the main eventloop or the event loop driving a web worker.

f
removeEventListener

Remove a previously registered event listener from the global scope

f
reportError

Dispatch an uncaught exception. Similar to a synchronous version of:

v
self
No documentation available
v
sessionStorage
No documentation available
f
setInterval

Repeatedly calls a function , with a fixed time delay between each call.

f
setTimeout

Sets a timer which executes a function once after the delay (in milliseconds) elapses. Returnsan id which may be used to cancel the timeout.

f
structuredClone

Creates a deep copy of a given value using the structured clone algorithm.

T
Temporal.ArithmeticOptions

Options for arithmetic operations like add() and subtract()

T
Temporal.AssignmentOptions

Options for assigning fields using with() or entire objects withfrom().

T
Temporal.CalendarLike

Any of these types can be passed to Temporal methods instead of a calendar ID.

T
Temporal.CalendarTypeToStringOptions
No documentation available
T
Temporal.ComparisonResult
No documentation available
T
Temporal.DateTimeUnit
No documentation available
T
Temporal.DateUnit
No documentation available
I
Temporal.DifferenceOptions

Options to control the result of until() and since() methods inTemporal types.

I
Temporal.DurationArithmeticOptions

Options to control behavior of Duration.compare()

T
Temporal.DurationOptions

Options for assigning fields using Duration.prototype.with() or entireobjects with Duration.from(), and for arithmetic withDuration.prototype.add() and Duration.prototype.subtract().

T
Temporal.DurationRoundTo

The round method of the Temporal.Duration accepts one requiredparameter. If a string is provided, the resulting Temporal.Durationobject will be rounded to that unit. If an object is provided, thesmallestUnit and/or largestUnit property is required, while otherproperties are optional. A string parameter is treated the same as anobject whose smallestUnit property value is that string.

T
Temporal.DurationTotalOf

Options to control behavior of Duration.prototype.total()

c
Temporal.Instant

A Temporal.Instant is an exact point in time, with a precision innanoseconds. No time zone or calendar information is present. Therefore,Temporal.Instant has no concept of days, months, or even hours.

T
Temporal.InstantToStringOptions
No documentation available
T
Temporal.LargestUnit
No documentation available
v
Temporal.Now

The Temporal.Now object has several methods which give information aboutthe current date, time, and time zone.

T
Temporal.OffsetDisambiguationOptions
No documentation available
c
Temporal.PlainDate

A Temporal.PlainDate represents a calendar date. "Calendar date" refers to theconcept of a date as expressed in everyday usage, independent of any timezone. For example, it could be used to represent an event on a calendarwhich happens during the whole day no matter which time zone it's happeningin.

c
Temporal.PlainDateTime

A Temporal.PlainDateTime represents a calendar date and wall-clock time, witha precision in nanoseconds, and without any time zone. Of the Temporalclasses carrying human-readable time information, it is the most generaland complete one. Temporal.PlainDate, Temporal.PlainTime, Temporal.PlainYearMonth,and Temporal.PlainMonthDay all carry less information and should be used whencomplete information is not required.

c
Temporal.PlainMonthDay

A Temporal.PlainMonthDay represents a particular day on the calendar, butwithout a year. For example, it could be used to represent a yearlyrecurring event, like "Bastille Day is on the 14th of July."

c
Temporal.PlainTime

A Temporal.PlainTime represents a wall-clock time, with a precision innanoseconds, and without any time zone. "Wall-clock time" refers to theconcept of a time as expressed in everyday usage — the time that you readoff the clock on the wall. For example, it could be used to represent anevent that happens daily at a certain time, no matter what time zone.

c
Temporal.PlainYearMonth

A Temporal.PlainYearMonth represents a particular month on the calendar. Forexample, it could be used to represent a particular instance of a monthlyrecurring event, like "the June 2019 meeting".

T
Temporal.PluralUnit

When the name of a unit is provided to a Temporal API as a string, it isusually singular, e.g. 'day' or 'hour'. But plural unit names like 'days'or 'hours' are also accepted.

T
Temporal.RoundingMode
No documentation available
T
Temporal.RoundTo

round methods take one required parameter. If a string is provided, theresulting Temporal.Duration object will be rounded to that unit. If anobject is provided, its smallestUnit property is required while otherproperties are optional. A string is treated the same as an object whosesmallestUnit property value is that string.

T
Temporal.ShowCalendarOption
No documentation available
T
Temporal.SmallestUnit
No documentation available
T
Temporal.TimeUnit
No documentation available
T
Temporal.TimeZoneLike

Any of these types can be passed to Temporal methods instead of a time zone ID.

T
Temporal.ToInstantOptions

Options for conversions of Temporal.PlainDateTime to Temporal.Instant

T
Temporal.ToStringPrecisionOptions

Options for outputting precision in toString() on types with seconds

T
Temporal.TotalUnit
No documentation available
T
Temporal.TransitionDirection

Options to control behaviour of ZonedDateTime.prototype.getTimeZoneTransition()

T
Temporal.ZonedDateTimeAssignmentOptions
No documentation available
T
Temporal.ZonedDateTimeToStringOptions
No documentation available
N
WebAssembly
No documentation available
f
WebAssembly.compile

The WebAssembly.compile() function compiles WebAssembly binary code into aWebAssembly.Module object. This function is useful if it is necessary to compilea module before it can be instantiated (otherwise, the WebAssembly.instantiate()function should be used).

c
WebAssembly.CompileError

The WebAssembly.CompileError object indicates an error during WebAssembly decoding or validation.

f
WebAssembly.compileStreaming

The WebAssembly.compileStreaming() function compiles a WebAssembly.Moduledirectly from a streamed underlying source. This function is useful if it isnecessary to a compile a module before it can be instantiated (otherwise, theWebAssembly.instantiateStreaming() function should be used).

T
WebAssembly.Exports
No documentation available
T
WebAssembly.ExportValue
No documentation available
c
WebAssembly.Global

A WebAssembly.Global object represents a global variable instance, accessible fromboth JavaScript and importable/exportable across one or more WebAssembly.Moduleinstances. This allows dynamic linking of multiple modules.

I
WebAssembly.GlobalDescriptor

The GlobalDescriptor describes the options you can pass tonew WebAssembly.Global().

T
WebAssembly.ImportExportKind
No documentation available
T
WebAssembly.Imports
No documentation available
T
WebAssembly.ImportValue
No documentation available
c
WebAssembly.Instance

A WebAssembly.Instance object is a stateful, executable instance of a WebAssembly.Module.Instance objects contain all the Exported WebAssembly functions that allow calling intoWebAssembly code from JavaScript.

f
WebAssembly.instantiate

The WebAssembly.instantiate() function allows you to compile and instantiateWebAssembly code.

f
WebAssembly.instantiateStreaming

The WebAssembly.instantiateStreaming() function compiles and instantiates aWebAssembly module directly from a streamed underlying source. This is the mostefficient, optimized way to load wasm code.

c
WebAssembly.LinkError

The WebAssembly.LinkError object indicates an error during module instantiation(besides traps from the start function).

c
WebAssembly.Memory

The WebAssembly.Memory object is a resizable ArrayBuffer or SharedArrayBuffer thatholds the raw bytes of memory accessed by a WebAssembly Instance.

I
WebAssembly.MemoryDescriptor

The MemoryDescriptor describes the options you can pass tonew WebAssembly.Memory().

c
WebAssembly.Module

A WebAssembly.Module object contains stateless WebAssembly code that has already been compiledby the browser — this can be efficiently shared with Workers, and instantiated multiple times.

I
WebAssembly.ModuleExportDescriptor

A ModuleExportDescriptor is the description of a declared export in aWebAssembly.Module.

I
WebAssembly.ModuleImportDescriptor

A ModuleImportDescriptor is the description of a declared import in aWebAssembly.Module.

T
WebAssembly.ModuleImports
No documentation available
c
WebAssembly.RuntimeError

The WebAssembly.RuntimeError object is the error type that is thrown whenever WebAssemblyspecifies a trap.

c
WebAssembly.Table

The WebAssembly.Table() object is a JavaScript wrapper object — an array-like structurerepresenting a WebAssembly Table, which stores function references. A table created byJavaScript or in WebAssembly code will be accessible and mutable from both JavaScriptand WebAssembly.

I
WebAssembly.TableDescriptor

The TableDescriptor describes the options you can pass tonew WebAssembly.Table().

T
WebAssembly.TableKind
No documentation available
f
WebAssembly.validate

The WebAssembly.validate() function validates a given typed array ofWebAssembly binary code, returning whether the bytes form a valid wasmmodule (true) or not (false).

T
WebAssembly.ValueType
No documentation available
I
WebAssembly.WebAssemblyInstantiatedSource

The value returned from WebAssembly.instantiate.

v
window
No documentation available