pub fn add_array_element( context: *mut JSContext, array: JSValue, index: u32, value: JSValue, ) -> Result<(), ValueError>