You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
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
- [Array.prototype.forEach](https://devdocs.io/javascript/global_objects/array/foreach)
### Code provided
> The provided code will be added to your solution, and does not need to be submitted.
```js
Array.prototype.forEach = undefined
```