← Back to archive

Stdle #67 · narrowing · 2026-08-12

What does this TypeScript snippet output?

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

const s: symbol = Symbol("id")
console.log(typeof s)
Narrowing
4 attempts left

Answer & explanation