1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

docs for range comprehensiosn

This commit is contained in:
Jeremy Ashkenas 2009-12-26 20:46:31 -08:00
parent eeef8d3612
commit 983dac84a2
4 changed files with 13 additions and 21 deletions

View file

@ -1,5 +1,5 @@
(function(){
var __a, __b, __c, __d, __e, __f, __g, __h, __i, __j, __k, __l, food, i, lunch, row;
var __a, __b, __c, __d, __e, __f, __g, __h, food, i, lunch, row;
// Eat lunch.
__a = ['toast', 'cheese', 'wine'];
__d = [];
@ -17,10 +17,4 @@
__h[__f] = i % 2 === 0 ? highlight(row) : null;
}
__h;
// Check the first one hundred combinations.
__k = [];
for (__l=0, i=1, __j=100; i<=__j; i++, __l++) {
__k[__l] = lockpick(combinations[i]);
}
__k;
})();