01-edu / public

📚 @01-edu's Public Repository
http://public.01-edu.org/
224 stars 447 forks source link

slicer subject #2550

Closed AntoineEugenie closed 4 months ago

AntoineEugenie commented 5 months ago

slicer

Create a function named slice that works like Array.slice() and String.slice().

It takes 3 arguments:

string or array to process.
starting index.
**optional ending index.**

() => slice('abcdef',0,2)==='ab' 012 abc

nprimo commented 5 months ago

@AntoineEugenie could you please provide more information about the issue you're facing? :)

nprimo commented 4 months ago

@AntoineEugenie feel free to open a new issue with more details if you're still having problem with this exercise :)