mirror of https://github.com/01-edu/public.git
docs(flat): correct grammar
This commit is contained in:
parent
0a870df0c5
commit
b33aa039d8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue