summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-3-87.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-87.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-3-87.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-87.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-87.js
index ed16679ea..7473126e8 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-3-87.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-87.js
@@ -9,19 +9,19 @@ description: >
(8.10.5 step 4.a)
---*/
- var obj = { };
+var obj = {};
- var arrObj = [1, 2, 3];
+var arrObj = [1, 2, 3];
- arrObj.configurable = true;
+arrObj.configurable = true;
- Object.defineProperty(obj, "property", arrObj);
+Object.defineProperty(obj, "property", arrObj);
- 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');