A Quick Practical Example of JavaScript’s 'reduce' Function: codeburst.io/a-quick-practi…
2
137
302
0
0
@JavaScriptDaily Why spread the array into a new array when you can just push the item into the array?
@JavaScriptDaily So that's basically transmutation of an array into an object in some way. Very cool, but I found it hard to understand for novice coders.