From 5f57667c7d2181a854a43e546ce0cab9a13f742d Mon Sep 17 00:00:00 2001 From: Ilenia Date: Wed, 11 Aug 2021 17:00:44 +0200 Subject: [PATCH] fix: clarify slice-and-splice (#43170) --- .../basic-algorithm-scripting/slice-and-splice.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-algorithm-scripting/slice-and-splice.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-algorithm-scripting/slice-and-splice.md index aa06a9e5fa..fcad001cc0 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-algorithm-scripting/slice-and-splice.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-algorithm-scripting/slice-and-splice.md @@ -43,7 +43,7 @@ assert.deepEqual( ); ``` -All elements from the first array should be added to the second array in their original order. +All elements from the first array should be added to the second array in their original order. `frankenSplice([1, 2, 3, 4], [], 0)` should return `[1, 2, 3, 4]`. ```js assert.deepEqual(frankenSplice([1, 2, 3, 4], [], 0), [1, 2, 3, 4]);