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