Use the array length property to display an opening greeting to the user indicating how many original colonies (elements in the array) there were.

I am really confused how to use this property. I was trying to follow an example, but I just can't get it, please help.

"There were thirteen original American colonies. They were Connecticut, Delaware, Georgia, Maryland, Massachusetts, New Hampshire, New Jersey, New York, North Carolina, South Carolina, Pennsylvania, Rhode Island and Virginia."

<script type="text/javascript">
place = new Array(
"",
"There were thirteen original American colonies.",
"Massachusetts, New Hampshire, New Jersey, New York,",
"Rhode Island and Virginia."
);

function main(){
for (versNum = 1; verseNum < place.length; verseNum++){
alert(verse(verseNum));
alert(chorus());
}

function chorus(){
var greeting = "
}


(verseNum){
var greeting +=
var greeting +=
var greeting += place[verseNum];
return greeting;
}

var colonies = new Array(14);

colonies[1] = "Connecticut";
colonies[2] = "Delaware";
colonies[3] = "Georgia";
colonies[4] = "Maryland";
colonies[5] = "Massachusetts";
colonies[6] = "New Hampshire";
colonies[7] = "New Jersey";
colonies[8] = "New York";
colonies[9] = "North Carolina";
colonies[10] = "South Carolina";
colonies[11] = "Pennsylvania";
colonies[12] = "Rhode Island";
colonies[13] = "Virginia";

alert("Hi there! Did you know there were 13 original American colonies? They were: ");
for(i = 1; i <=13; i++){
alert(i + ") " + colonies[i]);
}
} // end program