summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/create/15.2.3.5-4-180.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-180.js')
-rw-r--r--test/built-ins/Object/create/15.2.3.5-4-180.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-180.js b/test/built-ins/Object/create/15.2.3.5-4-180.js
index 3f335be92..ccc5f3940 100644
--- a/test/built-ins/Object/create/15.2.3.5-4-180.js
+++ b/test/built-ins/Object/create/15.2.3.5-4-180.js
@@ -8,17 +8,17 @@ description: >
'Properties' is own data property (8.10.5 step 6.a)
---*/
- var newObj = Object.create({}, {
- prop: {
- writable: true
- }
- });
+var newObj = Object.create({}, {
+ prop: {
+ writable: true
+ }
+});
- var beforeWrite = (newObj.hasOwnProperty("prop") && typeof (newObj.prop) === "undefined");
+var beforeWrite = (newObj.hasOwnProperty("prop") && typeof(newObj.prop) === "undefined");
- newObj.prop = "isWritable";
+newObj.prop = "isWritable";
- var afterWrite = (newObj.prop === "isWritable");
+var afterWrite = (newObj.prop === "isWritable");
assert.sameValue(beforeWrite, true, 'beforeWrite');
assert.sameValue(afterWrite, true, 'afterWrite');