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 ### Instructions
Create a `forEach` function that takes an array as first argument, a function as second, Create a `forEach` function that takes an array as the first argument, a function as the second argument,
and that works like the method .forEach and that works like the `Array.prototype.forEach` method.
### Notions ### 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 ### 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 ```js
Array.prototype.forEach = undefined Array.prototype.forEach = undefined

Loading…
Cancel
Save