Demo 036 - Arrays


var myArray = ['Array element one', 'Array element two', 'Array element three'];

View the console to see the results for the following:

  • console.log(myArray[0]);
  • console.log(myArray[1]);
  • console.log(myArray[2]);