DEV Community

Discussion on: What´s wrong with Array.reduce ?

chidioguejiofor profile image
Chidiebere Ogujeiofor

Is it not safe for us to say that once you understand how the reduce function works, then reading/understanding it becomes quite easy.

I agree that the loops are more readable though but I don't think it's enough to tell folks 'never' to use reduce