summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-3-171.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-171.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-3-171.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-171.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-171.js
index 15f8cc9e8..4cbcfcf9f 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-3-171.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-171.js
@@ -9,19 +9,19 @@ description: >
step 6.a)
---*/
-var obj = {};
+ var obj = { };
-var dateObj = new Date();
+ var dateObj = new Date();
-dateObj.writable = true;
+ dateObj.writable = true;
-Object.defineProperty(obj, "property", dateObj);
+ Object.defineProperty(obj, "property", dateObj);
-var beforeWrite = obj.hasOwnProperty("property");
+ var beforeWrite = obj.hasOwnProperty("property");
-obj.property = "isWritable";
+ obj.property = "isWritable";
-var afterWrite = (obj.property === "isWritable");
+ var afterWrite = (obj.property === "isWritable");
assert.sameValue(beforeWrite, true, 'beforeWrite');
assert.sameValue(afterWrite, true, 'afterWrite');