Create a new array with the following statement:
var people = ["Teddy","Cathy","Bobby"];
Print out the values of the array elements with this statement:
Change the value of the first element by entering this statement, and then press Return or Enter:
people = "Georgie";
Print the values of the array’s element now, using the following statement:
The value of the first array element has been changed from “Teddy” to “Georgie”.
Now it’s your turn. Can you modify the array so that it contains the following list of names, in this order?
Mary, Bobby, Judy, Eddie, Herbie, Tony
When you have lists of names, or lists of anything, there are many things that you can do with them, such as sorting them, adding to and removing from them, comparing them, and much more.