Alright guys so I have an array. umm.. example.
var state = new Array();
state = "Alabama";
state = "ALASKA";
state = "Arizona";
state = "Arkansas";
state = "California";
Im trying to find out the length of this array in letters. Im thinking something along the lines of "state.length" but that pulls up the number of arrays. I want the letter length. How would I go buy doing that? The assignment is to find the avg of the letter length. so in this case.
state.length/5 <---even though this is deff wrong. But get the point?
Any links or pointers would be very useful.