diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-the-spread-operator-to-evaluate-arrays-in-place.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-the-spread-operator-to-evaluate-arrays-in-place.english.md
index 82f32661911..ced4aeaf908 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-the-spread-operator-to-evaluate-arrays-in-place.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-the-spread-operator-to-evaluate-arrays-in-place.english.md
@@ -43,7 +43,7 @@ Copy all contents of arr1
into another array arr2
usin
```yml
tests:
- text: arr2
should be correct copy of arr1
.
- testString: assert(arr2.every((v, i) => v === arr1[i]));
+ testString: assert(arr2.every((v, i) => v === arr1[i]) && arr2.length);
- text: ...
spread operator should be used to duplicate arr1
.
testString: assert(code.match(/Array\(\s*\.\.\.arr1\s*\)|\[\s*\.\.\.arr1\s*\]/));
- text: arr2
should remain unchanged when arr1
is changed.