← Back to archive

Stdle #181 · scope · 2026-11-28

What does this JavaScript snippet output?

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

const o = Object.create(null);
console.log(o instanceof Object);
console.log(typeof o.hasOwnProperty);
Scope
2 lines
4 attempts left

Answer & explanation