← Back to archive

Stdle #114 · coercion · 2026-09-22

What does this JavaScript snippet output?

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

const o = { toString() { return 'no' } }
console.log(o - 1)
Coercion
4 attempts left

Answer & explanation