WindowTimers is a mixin used to provide utility methods which set and clear timers. No objects of this type exist; instead, its methods are available on Window for the standard browsing scope, or on WorkerGlobalScope for workers.
Repeatedly calls a function or executes a code snippet, with a fixed time delay between each call. Returns an intervalID.
Sets a timer which executes a function or specified piece of code once after the timer expires.