mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
redoc
This commit is contained in:
parent
585298dc17
commit
c37f284771
49 changed files with 621 additions and 16 deletions
22
documentation/coffee/while.js
Normal file
22
documentation/coffee/while.js
Normal file
|
@ -0,0 +1,22 @@
|
|||
// Generated by CoffeeScript 1.9.3
|
||||
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;
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue