Using JavaScript Arrays
<HTML> <HEAD> <TITLE>Using Arrays</TITLE> </HEAD> <BODY> <H1 ALIGN="CENTER">Using Arrays</H1> <SCRIPT LANGUAGE="JavaScript"><!-- employee = new Array(5) employee[0] = "B" employee[1] = "C" employee[2] = "T" employee[3] = "A" employee[4] = "S" document.write(employee[0]+"<BR>") document.write(employee[1]+"<BR>") document.write(employee[2]+"<BR>") document.write(employee[3]+"<BR>") document.write(employee[4]) // --></SCRIPT> </BODY> </HTML>