diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-213.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-213.js | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-213.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-213.js index 2b51e1554..a0839ccfe 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-213.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-213.js @@ -9,25 +9,25 @@ description: > (8.10.5 step 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(); - Object.defineProperty(child, "get", { - get: function () { - return function () { - return "ownAccessorProperty"; - }; - } - }); +var child = new ConstructFun(); +Object.defineProperty(child, "get", { + get: function() { + return function() { + return "ownAccessorProperty"; + }; + } +}); - Object.defineProperty(obj, "property", child); +Object.defineProperty(obj, "property", child); assert.sameValue(obj.property, "ownAccessorProperty", 'obj.property'); |