Index: src/json.js |
diff --git a/src/json.js b/src/json.js |
index b0e14e1965dfb297d26436c668a81d8a7a049a21..c21e6351d45a345ca887ef1ed3ac3a7b811f3fbf 100644 |
--- a/src/json.js |
+++ b/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(), "", ""); |
} |