Skip to content

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.

Where the book teaches it

Related terms

Microtask queueAsynchronous / synchronousThread