internal JSBoxedString(JSValue Prototype, JSValue Constructor) : base(Prototype, Constructor) { this._val = JSString.Empty; base.SetDataProp("length", 0.0, false, false, false); }
public JSBoxedString(JSString val) : base(JSContext.CurrentGlobalContext.StringPrototype, JSContext.CurrentGlobalContext.StringCtor) { this._val = val; base.SetDataProp("length", (double)val.Value.Length, false, false, false); }
public JSBoxedString(JSString val) : base(JSContext.CurrentGlobalContext.StringPrototype, JSContext.CurrentGlobalContext.StringCtor) { this._val = val; base.SetDataProp("length", (double) val.Value.Length, false, false, false); }