Index: src/json.js |
diff --git a/src/json.js b/src/json.js |
index 8fd410fa4d90a945d67b59fc93df80129993a337..a491bcc1517b890c271099a52b228764aa814fd7 100644 |
--- a/src/json.js |
+++ b/src/json.js |
@@ -337,11 +337,12 @@ function JSONStringify(value, replacer, space) { |
return JSONSerialize('', {'': value}, replacer, new InternalArray(), "", gap); |
} |
-function SetupJSON() { |
+function SetUpJSON() { |
+ %CheckIsBootstrapping(); |
InstallFunctions($JSON, DONT_ENUM, $Array( |
"parse", JSONParse, |
"stringify", JSONStringify |
)); |
} |
-SetupJSON(); |
+SetUpJSON() |