Index: src/js/json.js |
diff --git a/src/js/json.js b/src/js/json.js |
index e72c1f68cb654af872fc5865c0fd5a077f5bba88..b8836eaddd919fb9387c962391f4075e7df8e302 100644 |
--- a/src/js/json.js |
+++ b/src/js/json.js |
@@ -187,7 +187,7 @@ |
function JSONStringify(value, replacer, space) { |
- if (arguments.length === 1 && !IS_PROXY(value)) { |
+ if (%_ArgumentsLength() == 1 && !IS_PROXY(value)) { |
return %BasicJSONStringify(value); |
} |
if (!IS_CALLABLE(replacer) && %is_arraylike(replacer)) { |