← Back to archive

Stdle #2 · 2026-06-02

What does this log?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

const obj = {
v: 10,
get: () => (typeof this === "undefined" ? "undef" : this.v)
};
console.log(obj.get());
Scope
4 attempts left

Answer & explanation