Pregunta de entrevista de Grid Dynamics

How is working Event-loop in JS