summaryrefslogtreecommitdiff
path: root/deps/v8/src/json.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/json.js')
-rw-r--r--deps/v8/src/json.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/json.js b/deps/v8/src/json.js
index b0e14e196..c21e6351d 100644
--- a/deps/v8/src/json.js
+++ b/deps/v8/src/json.js
@@ -181,7 +181,7 @@ function JSONSerialize(key, holder, replacer, stack, indent, gap) {
}
}
// Undefined or a callable object.
- return void 0;
+ return UNDEFINED;
}
@@ -236,5 +236,5 @@ function JSONSerializeAdapter(key, object) {
var holder = {};
holder[key] = object;
// No need to pass the actual holder since there is no replacer function.
- return JSONSerialize(key, holder, void 0, new InternalArray(), "", "");
+ return JSONSerialize(key, holder, UNDEFINED, new InternalArray(), "", "");
}