public Construct ( |
||
cx | ||
scope | Scriptable | |
extraArgs | object | |
return | Scriptable |
public override Scriptable Construct(Context cx, Scriptable scope, object[] extraArgs)
{
if (targetFunction is Function)
{
return ((Function)targetFunction).Construct(cx, scope, Concat(boundArgs, extraArgs));
}
throw ScriptRuntime.TypeError0("msg.not.ctor");
}