Basic Array

Basic Array

Make an array of that has four or more strings and print each to the console without using a for loop.


An array is a special variable, which can hold more than one value at a time.

var arrayName = ["item1", "item2", ...]; 

To access items in the array, you can use its "index number".

// logs the first item in the array