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