Electronic Arts Interview Question

Explain the JS event loop