Cancels repeated action which was set up using setInterval.
Syntax
window.clearInterval(intervalID)
intervalID is the identifier of the repeated action you want to cancel. This ID is returned from setInterval().
Example
See the setInterval() example.
Specification
| Specification | Status | Comment |
|---|---|---|
| WHATWG HTML Living Standard The definition of 'clearInterval' in that specification. |
Living Standard |