diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-208.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-208.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-208.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-208.js index 3be19510a..acfd6d48a 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-208.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-208.js @@ -8,18 +8,18 @@ description: > inherited data property (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(); +var child = new ConstructFun(); - Object.defineProperty(obj, "property", child); +Object.defineProperty(obj, "property", child); assert.sameValue(obj.property, "inheritedDataProperty", 'obj.property'); |