← Back to archive

Stdle #121 · hashes · 2026-10-05

What does this Ruby snippet output?

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

case {x: 1, y: 2, z: 3}
in {x:, **}
puts "x=#{x}"
end
Hashes
4 attempts left

Answer & explanation