← Back to archive

Stdle #45 · quirks · 2026-07-15

What does this JavaScript snippet output?

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

const a = [1, 2, 3];
delete a[1];
console.log(a.length, a[1]);
Quirks
4 attempts left

Answer & explanation