diff options
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-5-b-115.js')
-rw-r--r-- | test/built-ins/Object/defineProperties/15.2.3.7-5-b-115.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-115.js b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-115.js index 05a4bbeb2..a1d384f96 100644 --- a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-115.js +++ b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-115.js @@ -8,19 +8,19 @@ description: > inherited data property (8.10.5 step 5.a) ---*/ -var obj = {}; + var obj = {}; -var proto = { - value: "inheritedDataProperty" -}; + var proto = { + value: "inheritedDataProperty" + }; -var Con = function() {}; -Con.prototype = proto; + var Con = function () { }; + Con.prototype = proto; -var descObj = new Con(); + var descObj = new Con(); -Object.defineProperties(obj, { - property: descObj -}); + Object.defineProperties(obj, { + property: descObj + }); assert.sameValue(obj.property, "inheritedDataProperty", 'obj.property'); |