Glossary: JavaScript Beyond the Basics
Event loop
Also written: call stack, task queue
The part of Node and browsers that decides what runs next. Once the current code finishes, it runs queued callbacks such as timers, after emptying the microtask queue.