Skip to content

Category / Runtime · Async · Events · Performance

JavaScript labs

The language runtime: execution order, asynchrony, events and the cost of the work you schedule.

JavaScript / Runtime

Event Loop Visualizer

Step through the call stack, microtask queue and task queue to see exactly why asynchronous code runs in the order it does.

Intermediate~12 min
  • event loop
  • microtasks
  • async
JavaScript / Events

Debounce vs Throttle

Drive a high-frequency event stream and compare how debouncing and throttling change callback and request counts.

Beginner~8 min
  • events
  • debounce
  • throttle