Event Loop Simulator

You are the JavaScript runtime. Statements arrive; you decide where each one goes — call stack, Web APIs, microtask queue, task queue — and then you drain the queues in the order the loop actually would. Every round generates a brand-new program.

← all games