Index: src/v8natives.js |
diff --git a/src/v8natives.js b/src/v8natives.js |
index 6eb13719638a9359fb30e3361e660b990e2fc8cb..85540e85df94ebe6b48f8dff1e8ff4804421747f 100644 |
--- a/src/v8natives.js |
+++ b/src/v8natives.js |
@@ -749,7 +749,7 @@ function ObjectSeal(obj) { |
if (desc.isConfigurable()) desc.setConfigurable(false); |
DefineOwnProperty(obj, name, desc, true); |
} |
- ObjectPreventExtension(obj); |
+ return ObjectPreventExtension(obj); |
} |
@@ -766,7 +766,7 @@ function ObjectFreeze(obj) { |
if (desc.isConfigurable()) desc.setConfigurable(false); |
DefineOwnProperty(obj, name, desc, true); |
} |
- ObjectPreventExtension(obj); |
+ return ObjectPreventExtension(obj); |
} |