← Back to archive

Stdle #1 · 2026-06-01

What does this log?

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

let [a, b = a] = [1];
[a, b] = [b, a];
console.log(a, b);
Scope
4 attempts left

Answer & explanation