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