From b3508822d0c2c5a8a59dc532c54e9788ee0ddad4 Mon Sep 17 00:00:00 2001 From: Bakdaulet Ye Date: Fri, 18 Nov 2022 22:41:22 +0600 Subject: [PATCH] More clear instructions --- subjects/slicer/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/subjects/slicer/README.md b/subjects/slicer/README.md index 46e4e7a74..b46d165b8 100644 --- a/subjects/slicer/README.md +++ b/subjects/slicer/README.md @@ -4,7 +4,10 @@ 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