Stdle #163 · async · 2026-11-10
What does this JavaScript snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
const r = await Promise.any([ Promise.reject('e1'), Promise.resolve('win'),]);console.log(r);Async
Stdle #163 · async · 2026-11-10
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
const r = await Promise.any([ Promise.reject('e1'), Promise.resolve('win'),]);console.log(r);