0

I found a description of the syntax of the JavaScript method reduce that is:

arr.reduce(callback(accumulator, currentValue[, index[, array]]) [, initialValue])

In this case for example what does the square breackets in the argument of this function mean?

VLAZ
  • 26,331
  • 9
  • 49
  • 67
Miky-Bet
  • 196
  • 1
  • 8

0 Answers0