public/subjects/slicer
Bakdaulet Ye b3508822d0 More clear instructions 2022-11-21 13:48:39 +00:00
..
README.md More clear instructions 2022-11-21 13:48:39 +00:00

README.md

Slicer

Instructions

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.

Notions

Code provided

The provided code will be added to your solution, and does not need to be submitted.

Array.prototype.slice = undefined
String.prototype.slice = undefined