fix(curriculum): add removing element to the mutation test (#45581)
This commit is contained in:
@ -28,6 +28,7 @@ Rewrite the code so the global array `bookList` is not changed inside either fun
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
add(bookList, "Test");
|
add(bookList, "Test");
|
||||||
|
remove(bookList, "The Hound of the Baskervilles");
|
||||||
assert(
|
assert(
|
||||||
JSON.stringify(bookList) ===
|
JSON.stringify(bookList) ===
|
||||||
JSON.stringify([
|
JSON.stringify([
|
||||||
|
Reference in New Issue
Block a user