summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-3-101.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-101.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-3-101.js12
1 files changed, 5 insertions, 7 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-101.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-101.js
index 58ceddc3b..6f424df92 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-3-101.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-101.js
@@ -8,17 +8,15 @@ description: >
true (8.10.5 step 4.b)
---*/
-var obj = {};
+ var obj = {};
-Object.defineProperty(obj, "property", {
- configurable: true
-});
+ Object.defineProperty(obj, "property", { configurable: true });
-var beforeDeleted = obj.hasOwnProperty("property");
+ var beforeDeleted = obj.hasOwnProperty("property");
-delete obj.property;
+ delete obj.property;
-var afterDeleted = obj.hasOwnProperty("property");
+ var afterDeleted = obj.hasOwnProperty("property");
assert.sameValue(beforeDeleted, true, 'beforeDeleted');
assert.sameValue(afterDeleted, false, 'afterDeleted');