← JavaScript

Event loop

Not startedt = 0 ms
?

Colour key

Global scriptYour functionBuilt-inAsync functionMicrotaskTimerNetwork

Keyboard

← → step · Space play or pause · Ctrl + Enter run

Ready

Pick an example or write your own code, then press Run. Each step explains what the JavaScript engine just did and why.

Your code

Edit freely, then press Run

Call stack

Top runs

Console

No output yet

Web APIs

Timers and requests wait here

Microtasks

next out

Macrotasks

next out