I am new so probably incorrect. However, looking at the example on the reduce() array method has me confused. I know that it’s form works as I have tested it. The thing is the placement of the index (initialValue aka 0) has no model form in the syntax for the method below it. The only time the models show an array AFTER the arrow function is when array is one of the parameters and it isn’t in the example.
Are there more models possible than the syntax shows, or was this a slip up?
Thanks for helping a newbie. I wish MDN had this level documentation on every language as it is stellar on JavaScript!