diff options
Diffstat (limited to 'test/built-ins/Array/prototype/reduceRight/15.4.4.22-8-b-ii-2.js')
-rw-r--r-- | test/built-ins/Array/prototype/reduceRight/15.4.4.22-8-b-ii-2.js | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/test/built-ins/Array/prototype/reduceRight/15.4.4.22-8-b-ii-2.js b/test/built-ins/Array/prototype/reduceRight/15.4.4.22-8-b-ii-2.js index 8da273e0c..4afeb3bb7 100644 --- a/test/built-ins/Array/prototype/reduceRight/15.4.4.22-8-b-ii-2.js +++ b/test/built-ins/Array/prototype/reduceRight/15.4.4.22-8-b-ii-2.js @@ -9,17 +9,14 @@ description: > visible here ---*/ -var obj = { - 2: "accumulator", - 3: "another" -}; + var obj = { 2: "accumulator", 3: "another" }; -Object.defineProperty(obj, "length", { - get: function() { - delete obj[2]; - return 5; - }, - configurable: true -}); + Object.defineProperty(obj, "length", { + get: function () { + delete obj[2]; + return 5; + }, + configurable: true + }); -assert.notSameValue(Array.prototype.reduceRight.call(obj, function() {}), "accumulator", 'Array.prototype.reduceRight.call(obj, function () { })'); +assert.notSameValue(Array.prototype.reduceRight.call(obj, function () { }), "accumulator", 'Array.prototype.reduceRight.call(obj, function () { })'); |