Pergunta de entrevista da empresa Geekyants Software

How does event loop work in javascript?