HTTP/2 302
x-cloud-trace-context: 154a730acbbf76c30e06ce0a0b6fa207
location: /en-US/docs/Web/API/clearInterval
via: 1.1 google, 1.1 varnish, 1.1 varnish, 1.1 varnish, 1.1 varnish
accept-ranges: bytes
cache-control: no-store
server: Google Frontend
content-type: text/plain; charset=utf-8
date: Mon, 29 Dec 2025 00:21:16 GMT
x-served-by: cache-bfi-kbfi7400058-BFI, cache-bfi-kbfi7400058-BFI, cache-sin-wsss1830039-SIN, cache-bom-vanm7210045-BOM
x-cache: MISS, MISS, MISS, MISS
x-cache-hits: 0, 0, 0, 0
x-timer: S1766967676.105010,VS0,VE373
vary: Accept
content-length: 55
HTTP/2 301
server: Google Frontend
location: /en-US/docs/Web/API/Window/clearInterval
via: 1.1 google, 1.1 varnish, 1.1 varnish, 1.1 varnish, 1.1 varnish
x-cloud-trace-context: b326718180057a91fffb969dd4a0b138
cache-control: max-age=2592000,public
content-type: text/plain; charset=utf-8
accept-ranges: bytes
age: 963235
date: Mon, 29 Dec 2025 00:21:16 GMT
x-served-by: cache-bfi-krnt7300055-BFI, cache-bfi-krnt7300055-BFI, cache-sin-wsss1830024-SIN, cache-bom-vanm7210045-BOM
x-cache: MISS, MISS, HIT, MISS
x-cache-hits: 0, 0, 33, 0
x-timer: S1766967676.491549,VS0,VE153
vary: Accept
content-length: 74
HTTP/2 200
last-modified: Sun, 28 Dec 2025 01:10:08 GMT
x-goog-storage-class: STANDARD
referrer-policy: strict-origin-when-cross-origin
via: 1.1 google, 1.1 varnish, 1.1 varnish, 1.1 varnish, 1.1 varnish
x-goog-metageneration: 1
x-goog-meta-goog-reserved-file-mtime: 1766882967
server: Google Frontend
x-goog-stored-content-length: 172222
x-goog-stored-content-encoding: identity
cache-control: public, max-age=3600
content-type: text/html
x-guploader-uploadid: AHVrFxO-8qQBaMh2rMaApthLsOw0Un11w30_3CkwJFzDtgDEN_EPk6DKRZY0pPKfeAQ-vUbR
origin-trial: AxVILwizhbMjxFeHOn1P3R8niO1RJY/smaK4B4d1rLzc1gTaxtXMSaTi+FoigYgCw40uFRDwFcEAeqDR+vVLOW4AAABfeyJvcmlnaW4iOiJodHRwczovL2RldmVsb3Blci5tb3ppbGxhLm9yZyIsImZlYXR1cmUiOiJQcml2YXRlQXR0cmlidXRpb25WMiIsImV4cGlyeSI6MTc0MjA3OTYwMH0=
x-goog-generation: 1766884207953907
x-cloud-trace-context: a246a900e9586cda9f9e0311bba325fb
expires: Sun, 28 Dec 2025 03:07:10 GMT
etag: "d1de018392426e1c7262293de7bceb78"
x-goog-hash: crc32c=8TZBzA==, md5=0d4Bg5JCbhxyYik957zreA==
x-frame-options: DENY
strict-transport-security: max-age=63072000
x-content-type-options: nosniff
content-security-policy: default-src 'self'; script-src 'report-sample' 'self' 'wasm-unsafe-eval' https://www.google-analytics.com/analytics.js https://*.googletagmanager.com assets.codepen.io production-assets.codepen.io https://js.stripe.com 'sha256-XNBp89FG76amD8BqrJzyflxOF9PaWPqPqvJfKZPCv7M=' 'sha256-YCNoU9DNiinACbd8n6UPyB/8vj0kXvhkOni9/06SuYw=' 'sha256-PZjP7OR6mBEtnvXIZfCZ5PuOlxoDF1LDZL8aj8c42rw='; script-src-elem 'report-sample' 'self' 'wasm-unsafe-eval' https://www.google-analytics.com/analytics.js https://*.googletagmanager.com assets.codepen.io production-assets.codepen.io https://js.stripe.com 'sha256-XNBp89FG76amD8BqrJzyflxOF9PaWPqPqvJfKZPCv7M=' 'sha256-YCNoU9DNiinACbd8n6UPyB/8vj0kXvhkOni9/06SuYw=' 'sha256-PZjP7OR6mBEtnvXIZfCZ5PuOlxoDF1LDZL8aj8c42rw='; style-src 'report-sample' 'self' 'unsafe-inline'; object-src 'none'; base-uri 'self'; connect-src 'self' developer.allizom.org bcd.developer.allizom.org bcd.developer.mozilla.org updates.developer.allizom.org updates.developer.mozilla.org https://*.google-analytics.com https://*.analytics.google.com https://*.googletagmanager.com https://incoming.telemetry.mozilla.org https://observatory-api.mdn.allizom.net https://observatory-api.mdn.mozilla.net https://api.github.com/search/issues stats.g.doubleclick.net https://api.stripe.com; font-src 'self'; frame-src 'self' mdn.github.io *.mdnplay.dev *.mdnyalp.dev *.play.test.mdn.allizom.net https://v2.scrimba.com https://scrimba.com jsfiddle.net www.youtube-nocookie.com codepen.io survey.alchemer.com https://js.stripe.com; img-src 'self' data: *.githubusercontent.com *.googleusercontent.com *.gravatar.com mozillausercontent.com firefoxusercontent.com profile.stage.mozaws.net profile.accounts.firefox.com developer.mozilla.org mdn.dev wikipedia.org upload.wikimedia.org https://mdn.github.io/shared-assets/ https://mdn.dev/ https://*.google-analytics.com https://*.googletagmanager.com www.gstatic.com; manifest-src 'self'; media-src 'self' archive.org videos.cdn.mozilla.net https://mdn.github.io/shared-assets/; child-src 'self'; worker-src 'self';
content-encoding: gzip
accept-ranges: bytes
age: 1421
date: Mon, 29 Dec 2025 00:21:16 GMT
x-served-by: cache-bfi-kbfi7400091-BFI, cache-bfi-kbfi7400091-BFI, cache-sin-wsat1880024-SIN, cache-bom-vanm7210045-BOM
x-cache: MISS, MISS, HIT, MISS
x-cache-hits: 0, 0, 36, 0
x-timer: S1766967677.657929,VS0,VE161
vary: Accept-Encoding
content-length: 22068
Window: clearInterval() method - Web APIs | MDN
clearInterval(intervalID)
intervalID
The identifier of the repeated action you want to cancel. This ID was returned by
the corresponding call to setInterval().
It's worth noting that the pool of IDs used by
setInterval() and
setTimeout() are shared, which
means you can technically use clearInterval() and
clearTimeout() interchangeably.
However, for clarity, you should avoid doing so.
See setInterval() for examples.
Enable JavaScript to view this browser compatibility table.