Pergunta de entrevista da empresa Coder

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