DEV Community

loading...

Discussion on: Explain REDUCE Like I'm Five

Collapse
akashgiri profile image
Akash Giri

Hey, I don't know but did you check MDN guide/docs on Reduce. See the section How reduce() works and Examples, they are really good and they explain like you're five. I had hard time understanding higher order Array functions. But MDN docs are really good at explaining by example and explaining core concepts as well.

Collapse
pachicodes profile image
Pachi 🪐 (she/her/ela) Author

Thank you, I tried that already, MDN never gets into my brain x.x