mirror of https://github.com/01-edu/public.git
458 B
458 B
For Each
Instructions
Create a function named forEach
which takes an array as the first argument, a function as the second argument,
and that works like the Array.prototype.forEach
method.
Notions
Code provided
The provided code will be added to your solution, and does not need to be submitted.
Array.prototype.forEach = undefined