public void SetProperty(JSValue this_obj, string name, JSCFunction fn, int length = 0) { JSApi.JS_SetPropertyStr(this, this_obj, name, JSApi.JS_NewCFunction(this, fn, name, length)); }