mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
17 lines
No EOL
345 B
JavaScript
17 lines
No EOL
345 B
JavaScript
var _result, lyrics, num;
|
|
if (this.studyingEconomics) {
|
|
while (supply > demand) {
|
|
buy();
|
|
}
|
|
while (!(supply > demand)) {
|
|
sell();
|
|
}
|
|
}
|
|
num = 6;
|
|
lyrics = (function() {
|
|
_result = [];
|
|
while (num -= 1) {
|
|
_result.push(num + " little monkeys, jumping on the bed. One fell out and bumped his head.");
|
|
}
|
|
return _result;
|
|
})(); |