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.
Thank you, I tried that already, MDN never gets into my brain x.x
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.