Stdle #117 · scope · 2026-09-25
What does this JavaScript snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
function f(a, ...rest) { console.log(arguments.length, rest.length);}f(1, 2, 3, 4);Scope
Stdle #117 · scope · 2026-09-25
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
function f(a, ...rest) { console.log(arguments.length, rest.length);}f(1, 2, 3, 4);