Skip to content

Commit

Permalink
lang/javascript/jsenumerator/trunk/test.js:
Browse files Browse the repository at this point in the history
    せっかくなので apply つかう


git-svn-id: http://svn.coderepos.org/share/lang/javascript/jsenumerator/trunk@7313 d0d07461-0603-4401-acd4-de1884942a52
  • Loading branch information
cho45 committed Feb 29, 2008
1 parent 206425a commit 742498c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test.js
Expand Up @@ -409,9 +409,9 @@ tests("Application", function () {
.izip(
E(["", "", "Fizz"]).cycle(),
E(["", "", "", "", "Buzz"]).cycle())
.imap(function (i) {
return i[1] + i[2] || i[0];
})
.imap(function (num, fizz, buzz) {
return fizz + buzz || num;
}, "apply")
.take(20);
expect("FizzBuzz", fizzbuzzA, fizzbuzz);

Expand Down

0 comments on commit 742498c

Please sign in to comment.