0
How to get out of the setInterval function in javascript?
var f=0; f=Math.round(Math.random()); if(f==0) setInterval(myFunction,4186); else alert("It doesn't come to this alert!!");
2 Respostas
+ 1
https://www.w3schools.com/jsref/met_win_clearinterval.asp