Stdle #141 · scope · 2026-10-19
What does this JavaScript snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
function f(a, b = a + 1, c = b + 1) { return [a, b, c].join(",");}console.log(f(5));Scope
Stdle #141 · scope · 2026-10-19
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
function f(a, b = a + 1, c = b + 1) { return [a, b, c].join(",");}console.log(f(5));