aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2012-05-21 18:34:26 +0200
committerRoberto Raggi <roberto.raggi@nokia.com>2012-05-21 18:34:26 +0200
commit17386967b9d85d2a9c52cdcf13b9f4a76592cae5 (patch)
treee49a279d940f3f8645b675eeb0b2a5c83e4ff395 /tests
parentd3649cd9403877ed15bbd5cc5b3425172c6e840b (diff)
Implemented Array.prototype.reduceRight
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 }));