Jurassic.Library.ClrStubFunction.ConstructLateBound C# (CSharp) Method

ConstructLateBound() public method

Creates an object, using this function as the constructor.
public ConstructLateBound ( ) : ObjectInstance
return ObjectInstance
        public override ObjectInstance ConstructLateBound(params object[] argumentValues)
        {
            if (this.constructBinder == null)
                throw new JavaScriptException(this.Engine, ErrorType.TypeError, "Objects cannot be constructed from built-in functions.");
            return (ObjectInstance)this.constructBinder(this.Engine, this, argumentValues);
        }