Here's a little program that uses an array. An array is nothing more than a variable that can hold multiple values. In this example, the variable "myfriends" is set to hold multiple friend names. Be aware of this type of variable. You will see it quite a bit in the JavaScripts we will be using.
Example:
<script language="JavaScript" type="text/javascript">Let's use another array variable to show how my students are doing. Here's the result of looping through the mystudents array: