summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-3-165.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-165.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-3-165.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-165.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-165.js
index 3895b6f61..c0e137038 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-3-165.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-165.js
@@ -9,21 +9,21 @@ description: >
property (8.10.5 step 6.a)
---*/
- var obj = {};
+var obj = {};
- var funObj = function (a, b) {
- return a + b;
- };
+var funObj = function(a, b) {
+ return a + b;
+};
- funObj.writable = true;
+funObj.writable = true;
- Object.defineProperty(obj, "property", funObj);
+Object.defineProperty(obj, "property", funObj);
- 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');