Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
How JavaScript Timers Work (ejohn.org)
25 points by muriithi on Feb 24, 2008 | hide | past | favorite | 2 comments


Nice diagram. Thank you.


Good point: setInterval() will fire the given function repeatedly no matter if the previous execution of that function is done yet which can lead to an unexpected pile up of calls to the same function.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: