Raven Build Labs · JavaScript repertory
Event Loop Theater
Follow the order in which the main script, microtasks, and timer callbacks get to run.
Opening Call
Ready to run the main script.
Output timeline
The stage is quiet.
Main script
Waiting
Microtask queue
Timer queue
Read the example JavaScript
This model treats all zero-delay timers as ready in registration order. It illustrates script and queue order without modeling browser rendering or clock delays.