Index: src/json.js |
diff --git a/src/json.js b/src/json.js |
index f767f4a195e2256861a02a68faac9b2c6fdc98e9..e2b7dc816bb1ff1e10e3e6db588b24642a644212 100644 |
--- a/src/json.js |
+++ b/src/json.js |
@@ -220,6 +220,8 @@ function JSONStringify(value, replacer, space) { |
function SetUpJSON() { |
%CheckIsBootstrapping(); |
+ %AddNamedProperty($JSON, symbolToStringTag, "JSON", READ_ONLY | DONT_ENUM); |
+ |
// Set up non-enumerable properties of the JSON object. |
InstallFunctions($JSON, DONT_ENUM, $Array( |
"parse", JSONParse, |