Why is setTimeout(fn, 0) sometimes useful??

I've recently run into a rather nasty bug, wherein the code was loading a <select> dynamically via JavaScript....