diff options
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-234.js')
-rw-r--r-- | test/built-ins/Object/create/15.2.3.5-4-234.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-234.js b/test/built-ins/Object/create/15.2.3.5-4-234.js index 84cbca969..6d53c01f2 100644 --- a/test/built-ins/Object/create/15.2.3.5-4-234.js +++ b/test/built-ins/Object/create/15.2.3.5-4-234.js @@ -8,19 +8,19 @@ description: > an inherited data property (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(); -var newObj = Object.create({}, { - prop: descObj -}); + var newObj = Object.create({}, { + prop: descObj + }); assert.sameValue(newObj.prop, "inheritedDataProperty", 'newObj.prop'); |