Skip to content

Instantly share code, notes, and snippets.

@KATT
Created March 4, 2014 14:44
Show Gist options
  • Save KATT/9347712 to your computer and use it in GitHub Desktop.
Save KATT/9347712 to your computer and use it in GitHub Desktop.
fn = () ->
for i in [0...10]
callMethod i
var fn;
fn = function() {
var i, _i, _results;
_results = [];
for (i = _i = 0; _i < 10; i = ++_i) {
_results.push(callMethod(i));
}
return _results;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment