internal StringConstructor(FunctionPrototype parent, LenientStringPrototype prototypeProp) : base(parent, "String", 1) { this.originalPrototype = prototypeProp; prototypeProp.constructor = this; this.proto = prototypeProp; this.noExpando = false; }
public StringPrototype GetStringPrototype() { lock(this) { if(stringPrototype == null) { stringPrototype = new LenientStringPrototype (GetObjectPrototype()); } return stringPrototype; } }
internal StringConstructor() : base(FunctionPrototype.ob, "String", 1) { this.originalPrototype = StringPrototype.ob; StringPrototype._constructor = this; this.proto = StringPrototype.ob; }