mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-28 21:00:56 +08:00
fix(curriculum): add removing element to the mutation test (#45581)
This commit is contained in:
parent
4795af3b51
commit
b2c05d3c79
@ -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([
|
||||
|
||||
Loading…
Reference in New Issue
Block a user