← Back to archive

Stdle #175 · async · 2026-11-22

What does this JavaScript snippet output?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

Promise.reject('oops')
.then(null, 99)
.catch(e => console.log(e));
Async
4 attempts left

Answer & explanation