In my program, I have few functions and a settimeout function.
function A () { ... };
setInterval(function B, 5000);
Suppose the function A is started and executed for 3 seconds. And the function B s' occurrence was to be in a middle of that 3 seconds. So will the function B will executed after the function A ?? Or will it execute at its' correct time?