← Back to archive

Stdle #21 · quirks · 2026-06-21

What does console.log(JSON.stringify([NaN, Infinity, -Inf… output?

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

console.log(JSON.stringify([NaN, Infinity, -Infinity]));
Quirks
4 attempts left

Answer & explanation