var people = ['jack','sam','peter'];
for (i=0;i<people.length;i++){
 // alert(people[i]);
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.