I'm trying to write a function which will take in an array and then return a map of the frequencies of each object in the array. For example, for the following array: I'm trying to write a function which will take
I'm trying to write a function which will take in an array and then return a map of the frequencies of each object in the array. For example, for the following array: I'm trying to write a function which will take