1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

Switching default arguments to use an if instead of an and, more documentation.

This commit is contained in:
Jeremy Ashkenas 2010-11-21 21:12:59 -05:00
parent 5dfd36af6a
commit fc64fa49ac
25 changed files with 283 additions and 162 deletions

View file

@ -8,10 +8,10 @@ if (this.studyingEconomics) {
}
}
num = 6;
lyrics = (function() {
lyrics = function() {
_results = [];
while (num -= 1) {
_results.push(num + " little monkeys, jumping on the bed. One fell out and bumped his head.");
}
return _results;
})();
}();