There are various JavaScript methods you can use to access items in an array:
var array = ['foo', 'bar', 'hello', 'world'];
// Using a simple for loop
for(var i in array){
console.log('Value of array item: ', array[i]);
}
// Using forEach loop
array.forEach(function(value){
console.log('Value of array item: ', value);
});
An array can contain strings, numbers, objects, booleans, etc as its items. Once you have accessed an item using one of the above methods, you can manipulate it according to your needs.
Here is more information on using forEach loops
You can also find information on using traditional for loops here
For additional insights on iterating through arrays, check out this resource