A tour of JavaScript timers on the web | Read the Tea Leaves
Good reference article on various timeout functions in JS (setTimeout, requestAnimationFrame, requestIdleCallback)
Good reference article on various timeout functions in JS (setTimeout, requestAnimationFrame, requestIdleCallback)