- callback: a callback function will be executed once for each element in the array. If something that is not a function is passed as a method parameter, then a TypeError exception will be raised.
- thisValue (optional): an object that can be referenced by the "this" keyword inside the function. If thisValue parameter is not passed, "this" will be "undefined"
Calculating the sum of array elements using forEach()
Iterating over the elements of an array containing objects
Getting the index of an element when using forEach()