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