docs(reversers): correct grammar

This commit is contained in:
davhojt 2022-05-01 19:03:11 +01:00 committed by Dav Hojt
parent c7a51d50a2
commit 1ac0687860
1 changed files with 2 additions and 4 deletions

View File

@ -2,9 +2,7 @@
### Instructions
Create a `reverse` function that works on both arrays and strings.
Like `[].reverse()` but working also for strings (without using the actual method)
Create a function named `reverse` which accepts an array or a string. It should work like `Array.reverse()`, and of course you cannot use that.
### Notions
@ -12,7 +10,7 @@ Like `[].reverse()` but working also for strings (without using the actual metho
### 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.reverse = undefined