diff options
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-5-b-195.js')
-rw-r--r-- | test/built-ins/Object/defineProperties/15.2.3.7-5-b-195.js | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-195.js b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-195.js index 6931583a6..586acb78d 100644 --- a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-195.js +++ b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-195.js @@ -9,27 +9,27 @@ description: > 7.a) ---*/ - var obj = {}; +var obj = {}; - var getter = function () { - return "inheritedDataProperty"; - }; +var getter = function() { + return "inheritedDataProperty"; +}; - var proto = { - get: getter - }; +var proto = { + get: getter +}; - var Con = function () { }; - Con.prototype = proto; +var Con = function() {}; +Con.prototype = proto; - var descObj = new Con(); +var descObj = new Con(); - descObj.get = function () { - return "ownDataProperty"; - }; +descObj.get = function() { + return "ownDataProperty"; +}; - Object.defineProperties(obj, { - property: descObj - }); +Object.defineProperties(obj, { + property: descObj +}); assert.sameValue(obj.property, "ownDataProperty", 'obj.property'); |