execution time in setInterval() function longer than interval
what happens, if the execution of the function called by serInterval() takes longer than the interval? does it just get skipped?
Nothing, the function must finish. setInterval would just execute the function back to back. note* this is for setInterval, and other languages where this occurs in threads may be different.