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:
parent
5dfd36af6a
commit
fc64fa49ac
25 changed files with 283 additions and 162 deletions
|
@ -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;
|
||||
})();
|
||||
}();
|
Loading…
Add table
Add a link
Reference in a new issue