mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
24 lines
550 B
JavaScript
24 lines
550 B
JavaScript
// Generated by CoffeeScript 1.9.3
|
|
var courses, dish, food, foods, i, j, k, l, len, len1, len2, ref;
|
|
|
|
ref = ['toast', 'cheese', 'wine'];
|
|
for (j = 0, len = ref.length; j < len; j++) {
|
|
food = ref[j];
|
|
eat(food);
|
|
}
|
|
|
|
courses = ['greens', 'caviar', 'truffles', 'roast', 'cake'];
|
|
|
|
for (i = k = 0, len1 = courses.length; k < len1; i = ++k) {
|
|
dish = courses[i];
|
|
menu(i + 1, dish);
|
|
}
|
|
|
|
foods = ['broccoli', 'spinach', 'chocolate'];
|
|
|
|
for (l = 0, len2 = foods.length; l < len2; l++) {
|
|
food = foods[l];
|
|
if (food !== 'chocolate') {
|
|
eat(food);
|
|
}
|
|
}
|