Do you know what happens when you use setTimeout? Watch Philip Roberts’ talk from JSConf EU 2014, where explains what is the event loop in JavaScript and how does it work.