Javascript Array Alert
问题 Im new to Javascript. Im trying to code these four buttons. I'm currently on the second one. I've coded an array. But when I click on the button, it replaces the page. I want to display the array in an alert box. <html> <head> <script type="text/javascript"> function SayHello() { alert("Hello World!"); } function DumpCustomers() { var aCustomers=new Array(); aCustomers[0]="Frank Sinatra "; aCustomers[1]="Bob Villa "; aCustomers[2]="Kurt Cobain "; aCustomers[3]="Tom Cruise "; aCustomers[4]=