Skip to content

Instantly share code, notes, and snippets.

@jquense
Created April 13, 2015 20:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jquense/4861d23155bbaa2c4c8c to your computer and use it in GitHub Desktop.
Save jquense/4861d23155bbaa2c4c8c to your computer and use it in GitHub Desktop.
function chain(fnA, fnB){
return function(){
fnA && fnA.apply(this, arguments)
fnB && fnB.apply(this, arguments)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment