From aff56ac392f6b6ffbc9550c8236bee49dc5f713c Mon Sep 17 00:00:00 2001 From: Jovani Date: Wed, 8 Jul 2020 13:20:08 -0300 Subject: [PATCH] learn(fix) - fixed grammar because it was confuse to understand the sentence (#39188) * fix(learn): confusing grammar in copy array items using slice --- .../copy-array-items-using-slice.english.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/copy-array-items-using-slice.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/copy-array-items-using-slice.english.md index 995c525722..e057eeb724 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/copy-array-items-using-slice.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/copy-array-items-using-slice.english.md @@ -8,7 +8,7 @@ forumTopicId: 301158 ## Description
-The next method we will cover is slice(). slice(), rather than modifying an array, copies, or extracts, a given number of elements to a new array, leaving the array it is called upon untouched. slice() takes only 2 parameters — the first is the index at which to begin extraction, and the second is the index at which to stop extraction (extraction will occur up to, but not including the element at this index). Consider this: +The next method we will cover is slice(). Rather than modifying an array, slice() copies or extracts a given number of elements to a new array, leaving the array it is called upon untouched. slice() takes only 2 parameters — the first is the index at which to begin extraction, and the second is the index at which to stop extraction (extraction will occur up to, but not including the element at this index). Consider this: ```js let weatherConditions = ['rain', 'snow', 'sleet', 'hail', 'clear'];