Can someone explain this feature?
var bindbind = Function.prototype.bind.bind(Function.prototype.bind);
I understand the result that it produces:
var bindedContextFunc = bindbind(function)(context); bindedContextFunc(args);
But I donβt understand the process of creating these functions, I mean the bind(Function.prototype.bind) part bind(Function.prototype.bind)
javascript functional-programming
Nik
source share