When exporting multiple arrays, you don't need to export them individually; you can export them all at once.
arrayobject1 [{ array1, array2, array3 }]
arrayobject2 [{ array4, array5, array6 }]
export { arrayobject1, arrayobject2 }
Then, when importing, you can import them like this:
import { arrayobject1, arrayobject2 } from './data.js'
data.js file and export the shortSpaceTripsArr array.index.js file and import the shortSpaceTripsArr array along with the already imported interplanetaryDestinationsArr array.You can use the 'as' keyword to rename imports if needed.
import { originalName as newName, originalTitle as newTitle } from './data.js'