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