mirror of https://github.com/01-edu/public.git
docs(reversers): correct grammar
This commit is contained in:
parent
c7a51d50a2
commit
1ac0687860
|
@ -2,9 +2,7 @@
|
||||||
|
|
||||||
### Instructions
|
### Instructions
|
||||||
|
|
||||||
Create a `reverse` function that works on both arrays and strings.
|
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.
|
||||||
|
|
||||||
Like `[].reverse()` but working also for strings (without using the actual method)
|
|
||||||
|
|
||||||
### Notions
|
### Notions
|
||||||
|
|
||||||
|
@ -12,7 +10,7 @@ Like `[].reverse()` but working also for strings (without using the actual metho
|
||||||
|
|
||||||
### 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.reverse = undefined
|
Array.prototype.reverse = undefined
|
||||||
|
|
Loading…
Reference in New Issue