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

23 lines
399 B
JavaScript
Raw Normal View History

2012-10-23 16:45:31 -04:00
// Generated by CoffeeScript 1.4.0
var lyrics, num;
2010-07-29 00:51:35 -04:00
if (this.studyingEconomics) {
while (supply > demand) {
buy();
2009-12-21 11:41:45 -05:00
}
while (!(supply > demand)) {
2010-07-29 00:51:35 -04:00
sell();
}
}
2010-07-29 00:51:35 -04:00
num = 6;
2010-12-23 15:41:42 -05:00
lyrics = (function() {
var _results;
2010-11-21 12:38:27 -05:00
_results = [];
2010-07-29 00:51:35 -04:00
while (num -= 1) {
_results.push("" + num + " little monkeys, jumping on the bed. One fell out and bumped his head.");
2010-07-29 00:51:35 -04:00
}
2010-11-21 12:38:27 -05:00
return _results;
})();