Stdle #4 · 2026-06-04
What does this log?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
function make() { let c = 0; return () => ++c; }const a = make(), b = make();console.log(a(), a(), b());Scope
Stdle #4 · 2026-06-04
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
function make() { let c = 0; return () => ++c; }const a = make(), b = make();console.log(a(), a(), b());