Alert Array List

How do you alert a new array list ?

var people=[‘dog’,‘cat’,‘house’,‘car’,‘truck’,‘earth’];
people.push(‘bold’,‘pepsi’,‘honda’);
people.unshift(‘Joe’);
people.pop(‘honda’);
people.splice(1,3);
alert(people[5]);

I want a alert of the array list after the pushing,pop’ing and splicing to appear before the alert of which array to display which is alert.people[5].

ie.
0 - joe
1 - dog
2 - cat
etc etc giving me the array number as well.


var len = daarray.length;
for(var i=0;i<len;i++) {
     alert(i + ' = ' + daarray[i]);
}