Pregunta de entrevista de Coder

What happens in the JavaScript event loop when you click a button?