we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
showing results for - "get second from array javascript"
Felipe
01 Sep 2020
1array = ["Bob", "James", "John"]
2console.log(array[1]) // Prints 2nd