aboutsummaryrefslogtreecommitdiffstats
path: root/test/built-ins/Object/create/15.2.3.5-4-235.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-235.js')
-rw-r--r--test/built-ins/Object/create/15.2.3.5-4-235.js32
1 files changed, 16 insertions, 16 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-235.js b/test/built-ins/Object/create/15.2.3.5-4-235.js
index 67474ae09..b900beba5 100644
--- a/test/built-ins/Object/create/15.2.3.5-4-235.js
+++ b/test/built-ins/Object/create/15.2.3.5-4-235.js
@@ -9,25 +9,25 @@ description: >
(8.10.5 step 7.a)
---*/
- var proto = {
- get: function () {
- return "inheritedDataProperty";
- }
- };
+var proto = {
+ get: function() {
+ return "inheritedDataProperty";
+ }
+};
- var ConstructFun = function () { };
- ConstructFun.prototype = proto;
+var ConstructFun = function() {};
+ConstructFun.prototype = proto;
- var descObj = new ConstructFun();
+var descObj = new ConstructFun();
- Object.defineProperty(descObj, "get", {
- value: function () {
- return "ownDataProperty";
- }
- });
+Object.defineProperty(descObj, "get", {
+ value: function() {
+ return "ownDataProperty";
+ }
+});
- var newObj = Object.create({}, {
- prop: descObj
- });
+var newObj = Object.create({}, {
+ prop: descObj
+});
assert.sameValue(newObj.prop, "ownDataProperty", 'newObj.prop');