--- title: Window clearInterval Method --- ## Window clearInterval Method The 'clearInterval()' method is used to clear a timer set with the 'setInterval()' method. ```js clearInterval(setInteval_ID); ``` To be able to use the 'clearInterval()' method, you must use a global variable. ```js myID = setInterval(function, milliseconds); ``` #### More Information: Documentation: MDN Some more examples on w3schools