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