Skip to content

Instantly share code, notes, and snippets.

@miya2000
Created October 16, 2009 22:39
Show Gist options
  • Select an option

  • Save miya2000/212132 to your computer and use it in GitHub Desktop.

Select an option

Save miya2000/212132 to your computer and use it in GitHub Desktop.
(function(){
alert(f1(f2)(f3)(4));
function f1(f) {
alert('f1');
return f;
}
function f2(f) {
alert('f2');
return f;
}
function f3(f) {
alert('f3');
return f;
}
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment