summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/create/15.2.3.5-4-156.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-156.js')
-rw-r--r--test/built-ins/Object/create/15.2.3.5-4-156.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-156.js b/test/built-ins/Object/create/15.2.3.5-4-156.js
index 7161dc784..f3a2f4ce2 100644
--- a/test/built-ins/Object/create/15.2.3.5-4-156.js
+++ b/test/built-ins/Object/create/15.2.3.5-4-156.js
@@ -9,19 +9,19 @@ description: >
(8.10.5 step 5.a)
---*/
- var proto = {
- value: "inheritedDataProperty"
- };
+var proto = {
+ value: "inheritedDataProperty"
+};
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
+var ConstructFun = function() {};
+ConstructFun.prototype = proto;
- var descObj = new ConstructFun();
+var descObj = new ConstructFun();
- descObj.value = "ownDataProperty";
+descObj.value = "ownDataProperty";
- var newObj = Object.create({}, {
- prop: descObj
- });
+var newObj = Object.create({}, {
+ prop: descObj
+});
assert.sameValue(newObj.prop, "ownDataProperty", 'newObj.prop');