Microsoft.JScript.LenientFunctionPrototype.LenientFunctionPrototype C# (CSharp) Method

LenientFunctionPrototype() private method

private LenientFunctionPrototype ( ScriptObject parent ) : System
parent ScriptObject
return System
      internal LenientFunctionPrototype(ScriptObject parent)
        : base(parent) {
        this.noExpando = false;
        //this.constructor is given a value by ObjectConstructor
        Type super = typeof(FunctionPrototype);
        this.apply = new BuiltinFunction("apply", this, super.GetMethod("apply"), this);
        this.call = new BuiltinFunction("call", this, super.GetMethod("call"), this);
        this.toString = new BuiltinFunction("toString", this, super.GetMethod("toString"), this);
      }
    }
LenientFunctionPrototype