Correct stringify to JSON.stringify
This commit is contained in:
@ -4559,7 +4559,7 @@
|
|||||||
" }",
|
" }",
|
||||||
"};",
|
"};",
|
||||||
"// Keep a copy of the collection for tests",
|
"// 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",
|
"// Only change code below this line",
|
||||||
"function updateRecords(id, prop, value) {",
|
"function updateRecords(id, prop, value) {",
|
||||||
|
Reference in New Issue
Block a user