In my browser, the #2 solution (using reduce) was much faster. Source: http://jsperf.com/code-wars-number-of-occurrences
This comment is hidden because it contains spoiler information about the solution
Loading collection data...
In my browser, the #2 solution (using reduce) was much faster. Source: http://jsperf.com/code-wars-number-of-occurrences
This comment is hidden because it contains spoiler information about the solution