diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-134.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-134.js | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-134.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-134.js index 25e3a8e4f..bde2857dd 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-134.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-134.js @@ -9,22 +9,22 @@ description: > (8.10.5 step 5.a) ---*/ - var obj = {}; +var obj = {}; - var proto = { - value: "inheritedDataProperty" - }; +var proto = { + value: "inheritedDataProperty" +}; - var ConstructFun = function () { }; - ConstructFun.prototype = proto; +var ConstructFun = function() {}; +ConstructFun.prototype = proto; - var child = new ConstructFun(); - Object.defineProperty(child, "value", { - get: function () { - return "ownAccessorProperty"; - } - }); +var child = new ConstructFun(); +Object.defineProperty(child, "value", { + get: function() { + return "ownAccessorProperty"; + } +}); - Object.defineProperty(obj, "property", child); +Object.defineProperty(obj, "property", child); assert.sameValue(obj.property, "ownAccessorProperty", 'obj.property'); |