public String_ctor(Context context) : base(context) { String_prototype = new String_prototype(Context); String_prototype.SetOwnProperty("constructor", this); SetOwnProperty("prototype", String_prototype); SetOwnProperty("fromCharCode", new String_ctor_fromCharCode(Context)); }
protected String_ctor(Context context) { Context = context; Class = ObjClass.Function; String_prototype = new String_prototype(Context); String_prototype.SetOwnProperty("constructor", this); SetOwnProperty("prototype", String_prototype); SetOwnProperty("fromCharCode", new String_ctor_fromCharCode(Context)); }