All challenges
Multiple ChoiceHard 30s

Microtask Queue — queueMicrotask()

Choose the best answer for: microtasks
Options
  1. 1Microtasks are macrotasks and run after timers
  2. 2Promise .then callbacks go to the microtask queue
  3. 3Microtasks are deprecated and replaced by timers
  4. 4Microtasks run after setTimeout in the same tick

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle