public StringInstance Construct(string value) { var instance = new StringInstance(Engine); instance.Prototype = PrototypeObject; instance.PrimitiveValue = value; instance.Extensible = true; instance.FastAddProperty("length", value.Length, false, false, false); return instance; }
public StringInstance Construct(string value) { var instance = new StringInstance(Engine); instance.Prototype = PrototypeObject; instance.PrimitiveValue = value; instance.Extensible = true; instance.FastAddProperty("length", value.Length, false, false, false); return(instance); }