 <p>Short answer: NO</p> <p>Longer answer: This should show some means to get at the intervals but it does not</p> <pre><code>&lt;div id="msg"&gt;&lt;/div&gt; &lt;script&gt; function test() { document.getElementById('msg').innerHTML=x+':'+new Date(); cnt++; if (cnt==3) { alert('hey'); clearAll(); } } var x = setInterval(test,1000) var y = setInterval(test,2000) var cnt = 0; var win = window; for (var obj in window) { if (obj==x) alert('found!') document.write('&lt;hr&gt;'+obj+':'+typeof obj) } alert(window.x+'-'+window.y) function clearAll() { clearInterval(); // does not work } &lt;/script&gt; </code></pre>