← Back to archive

Stdle #5 · 2026-06-11

What does this log?

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

const wrap = <T,>(x: T) => x
const a = [1]
console.log(wrap<number[]>(a) === a)
Generics
4 attempts left

Answer & explanation