← Back to archive

Stdle #42 · erasure · 2026-07-18

What does this TypeScript snippet output?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

declare const GLOBAL_FLAG: boolean
console.log(typeof GLOBAL_FLAG)
Type Erasure
4 attempts left

Answer & explanation