clearInterval(number intervalID)

The timer set by the setInterval() method can be cancelled.

Parameter

number intervalID

ID of the timer to be cancelled