Stdle #103 · erasure · 2026-09-17
What does this TypeScript snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
const f: any = 5try { f() } catch (e) { console.log((e as Error).constructor.name) }Type Erasure
Stdle #103 · erasure · 2026-09-17
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
const f: any = 5try { f() } catch (e) { console.log((e as Error).constructor.name) }