Mozilla's getting a new look. What do you think? https://mzl.la/brandsurvey

window.clearInterval Redirect 1

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

WHATWG HTML Living Standard
The definition of 'clearInterval' in that specification.
Living Standard

See also

Document Tags and Contributors

 Last updated by: Sheppy,