JavaScript Async Essentials

1 / 8
Question

What is the event loop in JavaScript?

Tap to reveal answer

Answer

A runtime mechanism that processes queued tasks (microtasks and macrotasks) after the call stack is empty, enabling non-blocking concurrency.

Tap to flip back

Made with Emergent