← Back to archive

Stdle #6 · 2026-06-06

What does this log?

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

const r = await Promise.race([
new Promise(res => setTimeout(() => res('slow'), 10)),
Promise.resolve('fast'),
]);
console.log(r);
Async
4 attempts left

Answer & explanation