Lesson 2
The Event Loop & Task Queue
9 stages
The Problem: How Does JavaScript Wait Without Freezing?
Handing Work Off: Web APIs
Predict the Output: setTimeout
The Event Loop
The Event Loop Check
The Task Queue
Multiple Timers Queue Up
A Common Misconception: setTimeout is Not Precise
Lesson 2 Review
Next step
Move forward when you're ready.
Continue with Microtasks and the Microtask Queue.