← Back to archive

Stdle #19 · modern · 2026-06-25

What does this TypeScript snippet output?

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

const a = [1, 2, 3] as const;
console.log(a instanceof Array, Array.isArray(a));
Modern
4 attempts left

Answer & explanation