Pregunta de entrevista de Qubitech Solutions

How does the JavaScript event loop work?