diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-133.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-133.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-133.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-133.js index 0fbac7b7c..96ba2888b 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-133.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-133.js @@ -8,20 +8,20 @@ description: > inherited accessor property (8.10.5 step 5.a) ---*/ - var obj = { }; +var obj = {}; - var proto = {}; - Object.defineProperty(proto, "value", { - get: function () { - return "inheritedAccessorProperty"; - } - }); +var proto = {}; +Object.defineProperty(proto, "value", { + get: function() { + return "inheritedAccessorProperty"; + } +}); - 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, "inheritedAccessorProperty", 'obj.property'); |