docs(slicer): correct grammar

This commit is contained in:
davhojt 2022-05-01 18:38:04 +01:00 committed by Dav Hojt
parent 5d58cfb6d5
commit 931731229f
1 changed files with 4 additions and 4 deletions

View File

@ -2,17 +2,17 @@
### Instructions
Create the `slice` function that works like `Array.slice` and `String.slice`
Create a function named `slice` that works like `Array.slice()` and `String.slice()`.
It takes an additional first argument which is the string or the array
It takes an additional first argument which is the string or the array.
### Notions
- [devdocs.io/javascript/global_objects/array/slice](https://devdocs.io/javascript/global_objects/array/slice)
- [Array.slice](https://devdocs.io/javascript/global_objects/array/slice)
### 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.slice = undefined