diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2012-05-21 17:48:39 +0200 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2012-05-21 17:48:39 +0200 |
commit | 730302a642abc0224184d8f04672238152800299 (patch) | |
tree | 4127ae396aa8c998a1f41bc680d46f517d2d82fc /tests | |
parent | 19f17d6c853f4dcd401fec3c681c781348ffd55f (diff) |
Add non generic version of Array.prototype.every
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fun.4.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/fun.4.js b/tests/fun.4.js index 0edd104306..09b6a39804 100644 --- a/tests/fun.4.js +++ b/tests/fun.4.js @@ -5,7 +5,9 @@ function foo(a,b,c) { foo.call(null, 1,2,3); -[10,20,30].forEach(function (v,k,o) { print(v,k,o); }) +[10,20,30].forEach(function (v,k,o) { print(v,k,o); }); + +print([10, 20, 30].every(function (v,k,o) { return v > 9 })); |