Ad
  • Custom User Avatar

    It will give you ['even', 'odd'][0] which means 'even' (the value of the first index of the array ) or ['even', 'odd'][1] which means 'odd' (the second value of the second index of the array).
    Similar to myArray = ['a', 'b', 'c'], where myArray[0] = 'a', myArray[1] = 'b', myArray[2] = 'c'.