Frage im Vorstellungsgespräch bei Coder

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