DEV Community

Discussion on: 10 Array Methods You Should Know 👀

Collapse
hadmouse profile image
Fabián Vera

"(Reduce) method takes two parameters, the accumulator and the current value" That's pretty reductive (no pun intended), since it takes four.