internal ErrorConstructor(LenientFunctionPrototype parent, LenientErrorPrototype prototypeProp, GlobalObject globalObject) : base(parent, "Error", 2) { this.originalPrototype = prototypeProp; prototypeProp.constructor = this; this.proto = prototypeProp; this.type = ErrorType.OtherError; this.globalObject = globalObject; this.noExpando = false; }
internal ErrorConstructor(LenientFunctionPrototype parent, LenientErrorPrototype prototypeProp, GlobalObject globalObject) : base(parent, "Error", 2) { this.originalPrototype = prototypeProp; prototypeProp.constructor = this; base.proto = prototypeProp; this.type = ErrorType.OtherError; this.globalObject = globalObject; base.noExpando = false; }