Created
October 21, 2016 13:14
-
-
Save raindrop-ua/757f1c52c984f806b08213b5f6bed795 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
window.someFunc = (function (func) { | |
return function () { | |
var out = func.apply(this, arguments); | |
// do something | |
return out; | |
}; | |
})(window.someFunc); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment