diff options
Diffstat (limited to 'test/built-ins/Array/prototype/reduce/15.4.4.21-8-c-8.js')
-rw-r--r-- | test/built-ins/Array/prototype/reduce/15.4.4.21-8-c-8.js | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/built-ins/Array/prototype/reduce/15.4.4.21-8-c-8.js b/test/built-ins/Array/prototype/reduce/15.4.4.21-8-c-8.js index 64f4b8f79..cd677383a 100644 --- a/test/built-ins/Array/prototype/reduce/15.4.4.21-8-c-8.js +++ b/test/built-ins/Array/prototype/reduce/15.4.4.21-8-c-8.js @@ -9,19 +9,19 @@ description: > was thrown by step 3 ---*/ -var obj = {}; + var obj = {}; -Object.defineProperty(obj, "length", { - get: function() { - return { - toString: function() { - throw new Test262Error(); - } - }; - }, - configurable: true -}); + Object.defineProperty(obj, "length", { + get: function () { + return { + toString: function () { + throw new Test262Error(); + } + }; + }, + configurable: true + }); assert.throws(Test262Error, function() { - Array.prototype.reduce.call(obj, function() {}); + Array.prototype.reduce.call(obj, function () { }); }); |