Imagine you have this line of code:
setInterval(ajaxFunction,3000);
The ajaxFunction in the code is a function that calls a PHP script and retrieves data. What if the request takes longer than 3 seconds? Will it stop the current request and begin again, or will it launch a second request while the first one is still running? Perhaps there's another outcome I haven't considered?