diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-246.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-246.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-246.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-246.js index aaada824f..d3c9b3b05 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-246.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-246.js @@ -14,19 +14,19 @@ var obj = {}; var proto = {}; var data = "data"; Object.defineProperty(proto, "set", { - get: function() { - return function(value) { - data = value; - }; - } + get: function () { + return function (value) { + data = value; + }; + } }); -var ConstructFun = function() {}; +var ConstructFun = function () { }; ConstructFun.prototype = proto; var child = new ConstructFun(); Object.defineProperty(child, "set", { - set: function() {} + set: function () { } }); Object.defineProperty(obj, "property", child); |