access third in array javascrript code example Example: get third from array javascript array = ["Bob", "James", "John"] console.log(array[2]) // 3rd