A few uses for reduce() in Big Picture JS/TS
Array.prototype.reduce()
The reduce() often causes a common confusion, but it can also make your code much more readable and gives you new space for abstraction.
A simple spell but quite unbreakable , with this we can made a few things and save you a...
mrcthulhu.hashnode.dev5 min read
Felipe Ortiz González
Frontend Engineer
.map() is better! Change my mind ☕️