diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-209.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-209.js | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-209.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-209.js index 06e83faf6..65e76e89c 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-209.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-209.js @@ -9,21 +9,21 @@ description: > 7.a) ---*/ - var obj = {}; - var proto = { - get: function () { - return "inheritedDataProperty"; - } - }; +var obj = {}; +var proto = { + get: function() { + return "inheritedDataProperty"; + } +}; - var ConstructFun = function () { }; - ConstructFun.prototype = proto; +var ConstructFun = function() {}; +ConstructFun.prototype = proto; - var child = new ConstructFun(); - child.get = function () { - return "ownDataProperty"; - }; +var child = new ConstructFun(); +child.get = function() { + return "ownDataProperty"; +}; - Object.defineProperty(obj, "property", child); +Object.defineProperty(obj, "property", child); assert.sameValue(obj.property, "ownDataProperty", 'obj.property'); |