I have been changing how the javascript on my website works to make it more responsive. I have added lines like this:
setTimeout(function () {doTasks();}, 0);
Is it always enough to have a timeout of 0? Are there any browsers where this trick will not work?