← Back to archive

Stdle #165 · scope · 2026-11-12

What does this JavaScript snippet output?

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

class A { static make() { return new this(); } }
class B extends A {}
console.log(B.make() instanceof B);
Scope
4 attempts left

Answer & explanation