diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-214.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-214.js | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-214.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-214.js index b4bbb8442..b740fedec 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-214.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-214.js @@ -9,28 +9,28 @@ description: > (8.10.5 step 7.a) ---*/ -var obj = {}; -var proto = {}; -Object.defineProperty(proto, "get", { - get: function() { - return function() { - return "inheritedAccessorProperty"; - }; - } -}); + var obj = {}; + var proto = {}; + Object.defineProperty(proto, "get", { + get: function () { + return function () { + return "inheritedAccessorProperty"; + }; + } + }); -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'); |