Stdle #104 · narrowing · 2026-09-18
What does this TypeScript snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
const a: string | null = nullconst b: string | null = "B"console.log(a ?? b ?? "C")Narrowing
Stdle #104 · narrowing · 2026-09-18
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
const a: string | null = nullconst b: string | null = "B"console.log(a ?? b ?? "C")