To alert an array with JavaScript, we convert it to a string before calling alert.
For instance, we write
alert(JSON.stringify(aCustomers));
to call JSON.stringify to convert the aCustomers array to a JSON array string.
Then we call alery with the string to show an alert box with the array string.