Stdle #155 · modern · 2026-11-08
What does this TypeScript snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
const o = { a: 1, b: 2 } as const;delete (o as any).a;console.log(Object.keys(o).length);Modern
Stdle #155 · modern · 2026-11-08
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
const o = { a: 1, b: 2 } as const;delete (o as any).a;console.log(Object.keys(o).length);