docs(for-each): correct grammar

This commit is contained in:
davhojt 2022-05-15 21:36:58 +03:00 committed by Dav Hojt
parent f2b943adbd
commit cbcbdb1324
1 changed files with 4 additions and 4 deletions

View File

@ -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