Index: src/json.js |
diff --git a/src/json.js b/src/json.js |
index 26948fc6ba7b27cf95c2d36bc861b963ba312e4c..a896e2922210449c7f59e508abceea5142cb1ff3 100644 |
--- a/src/json.js |
+++ b/src/json.js |
@@ -25,7 +25,7 @@ |
} |
} else { |
for (var p in val) { |
- if (%_CallFunction(val, p, $objectHasOwnProperty)) { |
+ if (%_CallFunction(val, p, ObjectHasOwnProperty)) { |
var newElement = Revive(val, p, reviver); |
if (IS_UNDEFINED(newElement)) { |
delete val[p]; |
@@ -91,7 +91,7 @@ |
if (IS_ARRAY(replacer)) { |
var length = replacer.length; |
for (var i = 0; i < length; i++) { |
- if (%_CallFunction(replacer, i, $objectHasOwnProperty)) { |
+ if (%_CallFunction(replacer, i, ObjectHasOwnProperty)) { |
var p = replacer[i]; |
var strP = JSONSerialize(p, value, replacer, stack, indent, gap); |
if (!IS_UNDEFINED(strP)) { |
@@ -104,7 +104,7 @@ |
} |
} else { |
for (var p in value) { |
- if (%_CallFunction(value, p, $objectHasOwnProperty)) { |
+ if (%_CallFunction(value, p, ObjectHasOwnProperty)) { |
var strP = JSONSerialize(p, value, replacer, stack, indent, gap); |
if (!IS_UNDEFINED(strP)) { |
var member = %QuoteJSONString(p) + ":"; |
@@ -224,7 +224,7 @@ |
%AddNamedProperty(GlobalJSON, symbolToStringTag, "JSON", READ_ONLY | DONT_ENUM); |
// Set up non-enumerable properties of the JSON object. |
-$installFunctions(GlobalJSON, DONT_ENUM, [ |
+InstallFunctions(GlobalJSON, DONT_ENUM, [ |
"parse", JSONParse, |
"stringify", JSONStringify |
]); |