A couple years ago I was warned against using setInterval for long periods of time as it supposedly would cause the browser to hang if the called function ran l
setInterval
it always better to use setTimeout in a loop so you know exactly when to continue timing:
foo(); function foo(){ setTimeout (function(){ foo = 'bar_' + i++; foo(); }, 1 ); }
otherwise as you said above, the browser will have to catch up and since ur loop is in infinitum, it might not.
catch up