aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fun.4.js
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2012-05-21 15:40:08 +0200
committerRoberto Raggi <roberto.raggi@nokia.com>2012-05-21 15:40:08 +0200
commit19f17d6c853f4dcd401fec3c681c781348ffd55f (patch)
tree4a7bd4e02fddccae39bdef48eb373d89868214df /tests/fun.4.js
parentc5877cbbbee2c9f50231239095b48a85ebd3fa8a (diff)
Initial work on Array.prototype.forEach.
Diffstat (limited to 'tests/fun.4.js')
-rw-r--r--tests/fun.4.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/fun.4.js b/tests/fun.4.js
index 1333fadf18..0edd104306 100644
--- a/tests/fun.4.js
+++ b/tests/fun.4.js
@@ -3,5 +3,9 @@ function foo(a,b,c) {
print("hello",a,b,c)
}
-foo.call(null, 1,2,3)
+foo.call(null, 1,2,3);
+
+[10,20,30].forEach(function (v,k,o) { print(v,k,o); })
+
+