Coder Interview Question

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