Reduce an Array into a Single Object

Share this video with your friends

Send Tweet

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.