The Javascript clearInterval() method clears a timer set with the setInterval() method.
The Javascript clearInterval() method clears a timer set with the setInterval() method.
The ID value returned by setInterval() is used as the parameter for the clearInterval() method.