js clear all setinterval code example
Example: javascript clear all intervals
var interval_id = window.setInterval(()=>{}, 99999);
for (var i = 0; i < interval_id; i++)
window.clearInterval(i);
var interval_id = window.setInterval(()=>{}, 99999);
for (var i = 0; i < interval_id; i++)
window.clearInterval(i);