aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/fun.4.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/fun.4.js b/tests/fun.4.js
index c1b1916e61..b130acccd3 100644
--- a/tests/fun.4.js
+++ b/tests/fun.4.js
@@ -13,5 +13,6 @@ print([10, 20, 30].map(function (v,k,o) { return v * v }));
print([10, 20, 30].filter(function (v,k,o) { return v >= 20 }));
print([10,20,30].reduce(function(a,v,k,o) { return a + v }));
+print([10,20,30].reduceRight(function(a,v,k,o) { return a + v }));