Calls the callback for each entry in the collection.
The given callback receives the value for each entry, the key or index, and the
It is not obliged to return anything, and
forEach returns nothing.
The iteration of lists is resilient to changes to the list during iteration. Nodes added after the current node will be visited. Nodes removed before the current node will not affect subsequent iterations.
If this collection is an array with holes, those entries will not be visited.
Aggregates every value in this collection with the result collected up to that index.
Returns an array of the respective return values of a callback for each entry in this collection.
Returns an array with each value from this collection that passes the given test.
Returns an array of [key, class] entries where every value from the collection is placed into the same equivalence class if they return the same key through the given callback.