Stdle #153 · narrowing · 2026-11-06
What does this TypeScript snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
const o: { a?: number } = { a: undefined }console.log("a" in o)Narrowing
Stdle #153 · narrowing · 2026-11-06
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
const o: { a?: number } = { a: undefined }console.log("a" in o)