1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00
jashkenas--coffeescript/documentation/js/range_comprehensions.js
2010-10-24 21:50:34 -04:00

8 lines
No EOL
151 B
JavaScript

var _result, count, num;
count = ((function() {
_result = [];
for (num = 1; num <= 10; num++) {
_result.push(num);
}
return _result;
})());