15.3.4.5.3 [[HasInstance]] for bind

2010-07-04

This is the [[HasInstance]] property for function objects returned by a call to Function.prototype.bind. It basically delegates the actual function it binds.

Code: (Meta Ecma)
function GetSpecialBindHasInstanceMethod(V){
var target = this.[[TargetFunction]];
if (!([[HasInstance]] in target)) throw TypeError;
return target.[[HasInstance]](V);
}