Created
April 13, 2015 20:56
-
-
Save jquense/4861d23155bbaa2c4c8c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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