Functions
clearInterval
clearInterval(id?): void
The global clearInterval() method clears a timer set with the setInterval() method.
Parameters
| Parameter | Type | Description |
|---|---|---|
id? | number | The ID of the timer you want to clear, as returned by setInterval(). |
Returns
void