← Back to archive

Stdle #73 · namespaces · 2026-08-18

What does this TypeScript snippet output?

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

namespace Cfg { export const port = 8080 }
import C = Cfg
console.log(C.port)
Namespaces
4 attempts left

Answer & explanation