Use Function.prototype.bind
to debug Function.prototype.bind
.
Debugging functions created with Function.prototype.bind
is not easy. Calling
toString
on a bound function gives only 'function () { [native code] }'
, and
the details of the binding are buried inside and unavailable.