Files
coffeescript/documentation/js/while.js
Jeremy Ashkenas 533ad8afe9 CoffeeScript 1.9.1
2015-02-18 15:43:33 -05:00

23 lines
387 B
JavaScript

// Generated by CoffeeScript 1.9.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;
})();