Browse Source

docs(for-each): correct grammar

1124-swap-args-test
davhojt 2 years ago committed by Dav Hojt
parent
commit
cbcbdb1324
  1. 8
      subjects/for-each/README.md

8
subjects/for-each/README.md

@ -2,16 +2,16 @@
### Instructions
Create a `forEach` function that takes an array as first argument, a function as second,
and that works like the method .forEach
Create a `forEach` function that takes an array as the first argument, a function as the second argument,
and that works like the `Array.prototype.forEach` method.
### Notions
- [devdocs.io/javascript/global_objects/array/foreach](https://devdocs.io/javascript/global_objects/array/foreach)
- [Array.prototype.forEach](https://devdocs.io/javascript/global_objects/array/foreach)
### Code provided
> all code provided will be added to your solution and doesn't need to be submited.
> The provided code will be added to your solution, and does not need to be submitted.
```js
Array.prototype.forEach = undefined

Loading…
Cancel
Save