← Back to archive

Stdle #136 · narrowing · 2026-10-20

What does this TypeScript snippet output?

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

const v: unknown = [1, 2, 3]
console.log(typeof v)
Narrowing
4 attempts left

Answer & explanation