---
id: "setinterval"
kind: "web-feature"
canonical: "https://timetostable.com/feature/setinterval"
baseline: "high"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# setInterval (`setinterval`)

The setInterval() global function repeatedly executes provided code on a given delay, and the accompanying clearInterval() cancels the interval.

- **Group**: other
- **Baseline**: Widely Available
- **Newly Available Date**: 2015-07-29
- **Widely Available Date**: 2018-01-29
- **Specification**: https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers
- **Constituent BCD keys**: 5

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Safari | 4 | 2009-06-08 |
| Firefox | 3.5 | 2009-06-30 |
| Chrome | 3 | 2009-09-15 |
| Firefox for Android | 4 | 2011-03-29 |
| Safari on iOS | 5 | 2011-10-12 |
| Chrome Android | 18 | 2012-06-27 |
| Edge | 12 | 2015-07-29 |

