mirror of https://github.com/01-edu/public.git
More clear instructions
This commit is contained in:
parent
548ee49fef
commit
b3508822d0
|
@ -4,7 +4,10 @@
|
||||||
|
|
||||||
Create a function named `slice` 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 3 arguments:
|
||||||
|
- string or array to process.
|
||||||
|
- starting index.
|
||||||
|
- optional ending index.
|
||||||
|
|
||||||
### Notions
|
### Notions
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue