js clear timeinterval and turn on code example
Example: stop a setinterval
let myVar = setInterval(() => {console.log('bop'), 1000);
clearInterval(myVar);
let myVar = setInterval(() => {console.log('bop'), 1000);
clearInterval(myVar);