Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyRubyeach map select reduceSingle-choice MCQ

What does the each call return (the value of result)?

result = [10, 20, 30].each { |n| n * 2 }