Exactly. It's a Function.bind clone:
https://developer.mozilla.org/en/JavaScript/Reference/Global...
Unfortunately, bind is a 5th edition feature, not widely available.
https://developer.mozilla.org/en/JavaScript/Reference/Global...
Unfortunately, bind is a 5th edition feature, not widely available.
When we start seeing people using (jQuery.proxy(xxx)()) - then they've learned too much jQuery and not enough Javascript :-)