Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Function.prototype.bind()
- var newFunc = obj.someFunc.bind(myobj, 1, 2, 3);
- //also used for carring, but carring can be used without .bind()
- //also can be used $.proxy instead of bind
- $.proxy( function, context )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement