Multiple ChoiceHard 30s
Event Loop Order
A resolved Promise's .then callback runs:
Options
- 1Synchronously, before any other queued callback can run
- 2After all setTimeout callbacks have finished running completely
- 3In the macrotask queue, alongside setTimeout and setInterval
- 4In the microtask queue, before the next macrotask (setTimeout)
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.