Event Loop

  • Sometimes JavaScript can delegate tasks to the browser
  • When they are done, the browser pushes them into a pile (queue) of new work
  • If nothing is going on, JavaScript will pull things out of the callback queue
  • http://latentflip.com/loupe/

12 / 25