summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/reduceRight/15.4.4.22-9-b-1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/reduceRight/15.4.4.22-9-b-1.js')
-rw-r--r--test/built-ins/Array/prototype/reduceRight/15.4.4.22-9-b-1.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/built-ins/Array/prototype/reduceRight/15.4.4.22-9-b-1.js b/test/built-ins/Array/prototype/reduceRight/15.4.4.22-9-b-1.js
index b7336d05e..9277ef37d 100644
--- a/test/built-ins/Array/prototype/reduceRight/15.4.4.22-9-b-1.js
+++ b/test/built-ins/Array/prototype/reduceRight/15.4.4.22-9-b-1.js
@@ -9,10 +9,11 @@ description: >
empty and initialValue is not present
---*/
-function callbackfn(prevVal, curVal, idx, obj)
-{}
+ function callbackfn(prevVal, curVal, idx, obj)
+ {
+ }
-var arr = new Array(10);
+ var arr = new Array(10);
-assert.sameValue(arr.reduceRight(callbackfn, 5), 5, 'arr.reduceRight(callbackfn,5)');
+assert.sameValue(arr.reduceRight(callbackfn,5), 5, 'arr.reduceRight(callbackfn,5)');