From b2c05d3c794cc45a6619cd740b8ef3709b66e2b4 Mon Sep 17 00:00:00 2001 From: Radi Totev Date: Tue, 5 Apr 2022 14:59:46 +0100 Subject: [PATCH] fix(curriculum): add removing element to the mutation test (#45581) --- .../refactor-global-variables-out-of-functions.md | 1 + 1 file changed, 1 insertion(+) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/refactor-global-variables-out-of-functions.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/refactor-global-variables-out-of-functions.md index b87ae192b4..d9e1123980 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/refactor-global-variables-out-of-functions.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/refactor-global-variables-out-of-functions.md @@ -28,6 +28,7 @@ Rewrite the code so the global array `bookList` is not changed inside either fun ```js add(bookList, "Test"); +remove(bookList, "The Hound of the Baskervilles"); assert( JSON.stringify(bookList) === JSON.stringify([