Interactive
Playground
Event loop shape-sorter — drag each piece into its matching hole, then drain the queues in the right order.
Score: 0/5Best: 0
Tutorial — Warm-up: pure sync
The code
console.log('A')console.log('B')console.log('C')
Drag — or tap a piece, then tap a hole. Circles run instantly; triangles and squares need sorting first.
Console output