Note: This feature is available in Web Workers
clearInterval() method cancels a timed, repeating action which
was previously established by a call to
If the parameter provided does not identify a previously established action,
this method does nothing.
The identifier of the repeated action you want to cancel. This ID was returned by the corresponding call to
It's worth noting that the pool of IDs used by
setTimeout() are shared, which
means you can technically use
However, for clarity, you should avoid doing so.
|HTML Standard |
BCD tables only load in the browser