Introduction
The reduce method helps you combine all items in a list into one value. It makes adding, multiplying, or merging easy.
When you want to add all numbers in an array to get a total.
When you want to find the biggest or smallest number in a list.
When you want to turn a list of words into one sentence.
When you want to count how many times each item appears in a list.