Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyRubysymbol to procSingle-choice MCQ

Why does `[1, 2, 3].reduce(&:+)` work but `[1, 2, 3].map(&:+)` raise an error?

[1, 2, 3].reduce(&:+)