Code AnalysisHard 45s
Chained microtasks
What does this code output?
Starter code
Promise.resolve()
.then(() => { console.log(1); })
.then(() => { console.log(2); })
.then(() => { console.log(3); });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.