pub fn js_compat_array_slice<T: Clone>( a: &[T], start: i64, end_exclusive: i64, ) -> Result<Option<Vec<T>>>