Asynchronous Promises & async/await Syntax
Master asynchronous execution, Promise states (Pending, Fulfilled, Rejected), try/catch error boundaries, and modern async/await.
Promises & JavaScript Event Loop
### The Event Loop & Microtask Queue
JavaScript executes in a single-threaded runtime. Synchronous code executes on the Call Stack. Asynchronous callbacks (Promises, `fetch`) resolve into the **Microtask Queue**, which takes priority over the Macrotask Queue (`setTimeout`).