← Back to archive

Stdle #93 · scope · 2026-09-01

What does this JavaScript snippet output?

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

const o = {};
Object.defineProperty(o, "x", { value: 1, configurable: false });
console.log(delete o.y, Reflect.deleteProperty(o, "x"));
Scope
4 attempts left

Answer & explanation