MDN is my primary Javascript resource. I often see a notation like ( currentValue[, index[, array]]) as in:
( currentValue[, index[, array]])
l
That means the callback requires a currentValue as the first argument, and index and array are optional arguments.