I have a function in code which is declared like this
$get(URL, function (status, result) {}.bind(this));
What is role of bind in it ?
I have a function in code which is declared like this
$get(URL, function (status, result) {}.bind(this));
What is role of bind in it ?