What is the difference between `Array#map` and `Array#each`? What does `upcased = %w[a b].each { |s| s.upcase }` return?
Topic: rails, Ruby Fundamentals. Level: Basic.
The full answer to this question is available to Interview Reader members. See what is free and what Premium adds.