diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2012-05-21 15:40:08 +0200 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2012-05-21 15:40:08 +0200 |
commit | 19f17d6c853f4dcd401fec3c681c781348ffd55f (patch) | |
tree | 4a7bd4e02fddccae39bdef48eb373d89868214df /tests/fun.4.js | |
parent | c5877cbbbee2c9f50231239095b48a85ebd3fa8a (diff) |
Initial work on Array.prototype.forEach.
Diffstat (limited to 'tests/fun.4.js')
-rw-r--r-- | tests/fun.4.js | 6 |
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); }) + + |