Shows the given message and waits for the enter key pressed.
Cancels a timed, repeating action which was previously started by a call
to setInterval()
Cancels a scheduled action initiated by setTimeout()
Shows the given message and waits for the answer. Returns the user's answer as boolean.
Shows the given message and waits for the user's input. Returns the user's input as string.
A microtask is a short function which is executed after the function or module which created it exits and only if the JavaScript execution stack is empty, but before returning control to the event loop being used to drive the script's execution environment. This event loop may be either the main event loop or the event loop driving a web worker.
Dispatch an uncaught exception. Similar to a synchronous version of:
Repeatedly calls a function , with a fixed time delay between each call.
Sets a timer which executes a function once after the delay (in milliseconds) elapses. Returns an id which may be used to cancel the timeout.
Creates a deep copy of a given value using the structured clone algorithm.