docs(flat): correct grammar

This commit is contained in:
davhojt 2022-05-01 19:47:53 +01:00 committed by Dav Hojt
parent 0a870df0c5
commit b33aa039d8
1 changed files with 3 additions and 3 deletions

View File

@ -2,15 +2,15 @@
### Instructions ### Instructions
Create the `flat` functions that works like the `.flat` array method Create a function named `flat` that works like `Array.flat()`, except its first argument is the array.
### Notions ### Notions
- [devdocs.io/javascript/global_objects/array/flat](https://devdocs.io/javascript/global_objects/array/flat) - [Flat](https://devdocs.io/javascript/global_objects/array/flat)
### 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.flat = undefined Array.prototype.flat = undefined