Domanda di colloquio di Geekyants Software

How does event loop work in javascript?