Files
coffeescript/documentation/js/while.js
2010-11-21 12:38:27 -05:00

17 lines
347 B
JavaScript

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