⚙️ JavaScript Event Loop

Visual simulation of how JS handles async operations with Call Stack, Web APIs, Microtask Queue & Task Queue

📄 Code Being Executed

Step 0 of 0
Press Run Simulation to start the event loop walkthrough.
Each step will highlight the active code line and show exactly what's happening inside the engine.

📚 Call Stack

empty

🌐 Web APIs / Timer

idle

⚡ Microtask Queue

empty

📬 Task (Macro) Queue

empty

🖥 Console Output

Call Stack Frame
Web API Task
Microtask (Promise)
Macrotask (setTimeout)
Speed: 900ms