← Back to archive

Stdle #6 · 2026-06-12

What does this log?

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

h = Hash.new([])
h[:a] << 1
h[:b] << 2
puts h[:a].inspect
puts h[:b].inspect
Mutability
2 lines
4 attempts left

Answer & explanation