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