Last active
January 20, 2017 16:21
-
-
Save Spec007/d4aa41675fbffbf95b512b72c180a383 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 bind(func, context) { | |
return function() { | |
return func.apply(context, arguments); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment