Stdle #164 · modern · 2026-11-17
What does this TypeScript snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
const cfg = { port: 80 } as const;const p: typeof cfg.port = 80;console.log(p === cfg.port);Modern
Stdle #164 · modern · 2026-11-17
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
const cfg = { port: 80 } as const;const p: typeof cfg.port = 80;console.log(p === cfg.port);