I already know that apply and call are similar functions which setthis (context of a function).
apply
call
this
The difference is with the way
Imagine, bind is not available. you can easily construct it as follow :
var someFunction=... var objToBind=.... var bindHelper = function (someFunction, objToBind) { return function() { someFunction.apply( objToBind, arguments ); }; } bindHelper(arguments);