diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2012-05-21 17:59:54 +0200 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2012-05-21 17:59:54 +0200 |
commit | 1bdb1d02c471092991126fe721c6da71a6122635 (patch) | |
tree | 9e656feedf8914fbc48e3fd827038fe4a98ac1c7 /tests/fun.4.js | |
parent | dd93bc2b8fc760454e55658d8c6a8a921543c3ac (diff) |
Implement Array.prototype.map
Diffstat (limited to 'tests/fun.4.js')
-rw-r--r-- | tests/fun.4.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/fun.4.js b/tests/fun.4.js index 7741b26e2d..e35c8ac815 100644 --- a/tests/fun.4.js +++ b/tests/fun.4.js @@ -9,5 +9,6 @@ foo.call(null, 1,2,3); print([10, 20, 30].every(function (v,k,o) { return v > 9 })); print([10, 20, 30].some(function (v,k,o) { return v == 20 })); +print([10, 20, 30].map(function (v,k,o) { return v * v })); |