/ Published in: JavaScript
dont use setInterval!!!
Expand |
Embed | Plain Text
(function loopFunction(){ doSomething(); setTimeout(loopFunction, 100); })();
You need to login to post a comment.
ederfortunatO on 02/29/12
2 people have marked this snippet as a favorite
dont use setInterval!!!
(function loopFunction(){ doSomething(); setTimeout(loopFunction, 100); })();
You need to login to post a comment.