Hello all I have seen code like the following:
userFunc.apply.bind(userFunc, userFunc)
where userFunc is a function. I don't understand why the first & second arguments to bind are the function itself. What problem does this solve? Isn't the second argument meant for the arguments?
Source code is here.