Merge pull request #9277 from BKinahan/fix/json-stringify

Correct stringify to JSON.stringify
This commit is contained in:
Jonathan
2016-06-21 18:07:59 +01:00
committed by GitHub

View File

@ -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) {",