summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/reduceRight/15.4.4.22-9-1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/reduceRight/15.4.4.22-9-1.js')
-rw-r--r--test/built-ins/Array/prototype/reduceRight/15.4.4.22-9-1.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/built-ins/Array/prototype/reduceRight/15.4.4.22-9-1.js b/test/built-ins/Array/prototype/reduceRight/15.4.4.22-9-1.js
index ef9f26791..8132b414c 100644
--- a/test/built-ins/Array/prototype/reduceRight/15.4.4.22-9-1.js
+++ b/test/built-ins/Array/prototype/reduceRight/15.4.4.22-9-1.js
@@ -11,12 +11,12 @@ description: >
length
---*/
-function callbackfn(prevVal, curVal, idx, obj) {
- arr[5] = 6;
- arr[2] = 3;
- return prevVal + curVal;
-}
+ function callbackfn(prevVal, curVal, idx, obj) {
+ arr[5] = 6;
+ arr[2] = 3;
+ return prevVal + curVal;
+ }
-var arr = ['1', 2, , 4, '5'];
+ var arr = ['1', 2, , 4, '5'];
assert.sameValue(arr.reduceRight(callbackfn), "54321", 'arr.reduceRight(callbackfn)');