Running the code
animals = [ 'dog', 'cat', 'cow', 'pig' ]
favoriteAnimal = animals[2]
will give a result of
"cow"
9.2m questions
11.9m answers