Reduce an Array into a Single Object

We'll look at using array.reduce to transform an array of strings into an object that counts the occurrence of each string in the array.

You must be a Member to view code