Last active
March 22, 2016 11:03
-
-
Save balanza/f03c10a646a9aa552dea to your computer and use it in GitHub Desktop.
This file contains hidden or 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 commonFunctionalityX(fn){ | |
return function retX() { //function name for didactical purpose only | |
// | |
// Here you write the commonFunctionalityX-specific code | |
// | |
var args = Array.prototype.slice.call(arguments); | |
return fn && fn.apply(this, args); | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment