Skip to main content
Platform - Web documentation

Functions

f
alert

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

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
f
confirm

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

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
reportError

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

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.

Interfaces

Type Aliases

Variables

v
closed
No documentation available
v
location
No documentation available
v
name
No documentation available
v
navigator
No documentation available
v
self
No documentation available
v
window
No documentation available