Stdle #36 · scope · 2026-07-06
What does this JavaScript snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
const obj = { v: 5, run() { return [1].map(() => this.v)[0]; }};console.log(obj.run());Scope
Stdle #36 · scope · 2026-07-06
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
const obj = { v: 5, run() { return [1].map(() => this.v)[0]; }};console.log(obj.run());