In this post I'll show you the "core" feature of the .reduce
method by implementing my own version. I also share what I think is the ideal use case for this function.
Read on devto:
https://dev.to/vonheikemen/reduce-how-and-when-2cj9
Or my blog:
https://vonheikemen.github.io/devlog/web-development/learn-fp/reduce-how-and-when/