jainprasanna

jainprasanna
- Name: [not set]
- Favorite Languages: [not set]
- Website: [not set]
- Location: [not set]
- About Me: [not set]
-
Javascript Tutorial - Using setInterval and setTimeout
07/22/2010 - 02:12
Thanks for the tutorial. i have a question related to the second argument passed to the setInterval.
Suppose i have passed setInterval(process(),100). So it should execute process() every 100 milliseconds until i clearInterval.
But what would happen if the previous execution of process() is not complete , i mean suppose the processing of process() was not done in 100 ms, the the setInterval will again call process() at the beginning so will the previous call to process will have some code unexecuted.
Can anyone please explain.Thanks
Recent Comments