function()
|
Required.
A function to run for each array element. |
currentValue
|
Required.
The value of the current element. |
index
|
Optional.
The index of the current element. |
arr
|
Optional.
The array of the current element. |
thisValue
|
Optional. Default undefined.
A value passed to the function as its this value. |