JavaArray_ops.newObjectMap = js_ObjectOps.newObjectMap; JavaArray_ops.destroyObjectMap = js_ObjectOps.destroyObjectMap; JavaArray_ops.getRequiredSlot = js_ObjectOps.getRequiredSlot; JavaArray_ops.setRequiredSlot = js_ObjectOps.setRequiredSlot;
jsj_init_JavaArray(JSContext *cx, JSObject *global_obj){    JavaArray_ops.newObjectMap = js_ObjectOps.newObjectMap;    JavaArray_ops.destroyObjectMap = js_ObjectOps.destroyObjectMap;    JavaArray_ops.getRequiredSlot = js_ObjectOps.getRequiredSlot;    JavaArray_ops.setRequiredSlot = js_ObjectOps.setRequiredSlot;    if (!JS_InitClass(cx, global_obj,         0, &JavaArray_class, 0, 0,        0, 0, 0, 0))        return JS_FALSE;        return JS_TRUE;}