diff options
Diffstat (limited to 'test/built-ins/Array/prototype/reduce/15.4.4.21-8-b-ii-1.js')
-rw-r--r-- | test/built-ins/Array/prototype/reduce/15.4.4.21-8-b-ii-1.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/built-ins/Array/prototype/reduce/15.4.4.21-8-b-ii-1.js b/test/built-ins/Array/prototype/reduce/15.4.4.21-8-b-ii-1.js index 15b0dc2a0..f2369b432 100644 --- a/test/built-ins/Array/prototype/reduce/15.4.4.21-8-b-ii-1.js +++ b/test/built-ins/Array/prototype/reduce/15.4.4.21-8-b-ii-1.js @@ -9,14 +9,14 @@ description: > here ---*/ -var obj = {}; + var obj = { }; -Object.defineProperty(obj, "length", { - get: function() { - obj[1] = "accumulator"; - return 3; - }, - configurable: true -}); + Object.defineProperty(obj, "length", { + get: function () { + obj[1] = "accumulator"; + return 3; + }, + configurable: true + }); -assert.sameValue(Array.prototype.reduce.call(obj, function() {}), "accumulator", 'Array.prototype.reduce.call(obj, function () { })'); +assert.sameValue(Array.prototype.reduce.call(obj, function () { }), "accumulator", 'Array.prototype.reduce.call(obj, function () { })'); |