diff options
Diffstat (limited to 'test/built-ins/Array/prototype/reduceRight/15.4.4.22-4-10.js')
-rw-r--r-- | test/built-ins/Array/prototype/reduceRight/15.4.4.22-4-10.js | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/test/built-ins/Array/prototype/reduceRight/15.4.4.22-4-10.js b/test/built-ins/Array/prototype/reduceRight/15.4.4.22-4-10.js index 78a88e9b8..b6a599910 100644 --- a/test/built-ins/Array/prototype/reduceRight/15.4.4.22-4-10.js +++ b/test/built-ins/Array/prototype/reduceRight/15.4.4.22-4-10.js @@ -9,15 +9,18 @@ description: > exception was thrown by step 2 ---*/ - var obj = { 0: 11, 1: 12 }; +var obj = { + 0: 11, + 1: 12 +}; - 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.reduceRight.call(obj, undefined); + Array.prototype.reduceRight.call(obj, undefined); }); |