Which programming language is this?
total = [1, 2, 3].inject(:+)
Answer: Ruby
inject with a bare operator symbol folds the collection; that call form is Ruby-only.total = [1, 2, 3].inject(:+)
Answer: Ruby
inject with a bare operator symbol folds the collection; that call form is Ruby-only.