I'm not sure you can pass a array to other view. But You can use sap.ui.getCore().AppContext(ui5 provided as global variables) instead of window.
Application data between different views
sap.ui.getCore().AppContext.Array = your list of values.
can you paste here what it is displayed in console
console.log(sap.ui.getCore().AppContext.Array);