For starters, Function.prototype.bind
won't be defined. If bound
is used as a constructor, (this instanceof bound)
will be true. For example:
Function.prototype.bind = null;
var Constructor = function () {};
var BoundConstructor = _.bind(Constructor, {});
var b = new BoundConstructor(); // (this instanceof bound) === true
You can use the debugger to trace through this fiddle.