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) => xconst a = [1]console.log(wrap<number[]>(a) === a)Generics
Stdle #5 · 2026-06-11
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
const wrap = <T,>(x: T) => xconst a = [1]console.log(wrap<number[]>(a) === a)