Handle that identifies an active timeout
Global exception handler: called with the error message whenever an unhandled exception occurs. Set to a function to use, for example:
$uncaughtException = (err) => console.log(err);
Cancel all active intervals. Warning: Using this function can lead to complex bugs when used in a script. Prefer to cancel single intervals using clearInterval instead.
Cancel all timeouts that have not been executed yet. Warning: Using this function can lead to complex bugs when used in a script. Prefer to cancel single timeouts using clearTimeout instead.
Cancel an active interval
Cancel a timeout if it has not been executed yet
Force garbage collection
Execute a function repeatedly after a fixed delay in milliseconds. Additional arguments are passed through to the function.
Execute a function after a timeout in milliseconds. Additional arguments are passed through to the function.
Handle that identifies an active interval