javascript clear all intervals

JavaScript
var interval_id = window.setInterval(()=>{}, 99999);
for (var i = 0; i < interval_id; i++)
	window.clearInterval(i);
Source

Also in JavaScript: