← Back to archive

Stdle #4 · 2026-06-10

What does this log?

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

result = [1, 2, 3, 4].each_with_object([]) do |x, acc|
acc << x * 2
end
puts result.inspect
Iteration
4 attempts left

Answer & explanation