diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2018-02-15 15:33:45 -0500 |
---|---|---|
committer | Leo Balter <leonardo.balter@gmail.com> | 2018-02-15 15:33:45 -0500 |
commit | a61b9cd671f3378c4078c0a58dd8b8be073f8cef (patch) | |
tree | 1d0e29b2fc9477ac9956c904ea051e29c3b13f2d /test/built-ins/Object/defineProperty/15.2.3.6-3-244.js | |
parent | dedd68020b222fe79fb4fe9f84465e842e4ca61f (diff) |
built-ins/Object/*: make all indentation consistent (depth & character) (#1432)
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-244.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-244.js | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-244.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-244.js index 1696066e4..0989ddcdb 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-244.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-244.js @@ -9,32 +9,32 @@ description: > (8.10.5 step 8.a) ---*/ - var obj = {}; - var proto = {}; - var data1 = "data"; - var data2 = "data"; - Object.defineProperty(proto, "set", { - get: function () { - return function (value) { - data1 = value; - }; - } - }); +var obj = {}; +var proto = {}; +var data1 = "data"; +var data2 = "data"; +Object.defineProperty(proto, "set", { + get: function() { + return function(value) { + data1 = value; + }; + } +}); - var ConstructFun = function () { }; - ConstructFun.prototype = proto; +var ConstructFun = function() {}; +ConstructFun.prototype = proto; - var child = new ConstructFun(); - Object.defineProperty(child, "set", { - get: function () { - return function (value) { - data2 = value; - }; - } - }); +var child = new ConstructFun(); +Object.defineProperty(child, "set", { + get: function() { + return function(value) { + data2 = value; + }; + } +}); - Object.defineProperty(obj, "property", child); - obj.property = "ownAccessorProperty"; +Object.defineProperty(obj, "property", child); +obj.property = "ownAccessorProperty"; assert(obj.hasOwnProperty("property"), 'obj.hasOwnProperty("property") !== true'); assert.sameValue(data1, "data", 'data1'); |