Stdle #7 · 2026-06-13
What does this log?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
let n = 0function inc<T = void>(x = ++n) { return x }console.log(inc(), inc())Generics
Stdle #7 · 2026-06-13
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
let n = 0function inc<T = void>(x = ++n) { return x }console.log(inc(), inc())