mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-10 10:01:51 -04:00
Correct stringify to JSON.stringify
This commit is contained in:
@@ -4559,7 +4559,7 @@
|
||||
" }",
|
||||
"};",
|
||||
"// Keep a copy of the collection for tests",
|
||||
"var collectionCopy = JSON.parse(stringify(collection));",
|
||||
"var collectionCopy = JSON.parse(JSON.stringify(collection));",
|
||||
"",
|
||||
"// Only change code below this line",
|
||||
"function updateRecords(id, prop, value) {",
|
||||
|
||||
Reference in New Issue
Block a user