js get second part of array code example Example: get second from array javascript array = ["Bob", "James", "John"] console.log(array[1]) // Prints 2nd