Frequency Map

Objects ยท medium

Implement `frequency(arr)` returning an object mapping each value to how many times it appears.

Learning resources

Loading...

Run your code to see results.