JavaScript › Asynchrony

0/0 this session +0 XP
Multiple choice Hard event-loopmicrotasksclassic ~90s

In what order does this log? console.log('A'); setTimeout(() => console.log('B'), 0); Promise.resolve().then(() => console.log('C')); console.log('D');

Hints are free to take and they are counted. A correct answer after two hints moves your mastery less than one without — which is the honest way to score it.

Why this question? this skill is new to you; it stretches you slightly; and it needs calibrating — few people have tried it Predicted chance you get it: 35% — the selector aims at 78%.
difficulty fit 0.002
skill need 0.75
review boost 0
calibration bonus 0.12
recency penalty 0
repetition penalty 0
frustration 0