Files
coffeescript/documentation/js/while.js
Jeremy Ashkenas eef83a9fcb CoffeeScript 1.6.1
2013-03-05 11:07:16 +13:00

23 lines
399 B
JavaScript

// Generated by CoffeeScript 1.6.1
var lyrics, num;
if (this.studyingEconomics) {
while (supply > demand) {
buy();
}
while (!(supply > demand)) {
sell();
}
}
num = 6;
lyrics = (function() {
var _results;
_results = [];
while (num -= 1) {
_results.push("" + num + " little monkeys, jumping on the bed. One fell out and bumped his head.");
}
return _results;
})();