Tell us what’s happening:
Describe your issue in detail here.
What am I doing wrong… I hit console.log and it gets 50…
Your code so far
const myArray = [50, 60, 70];
var myData = myArray [0];
console.log (myData)
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Challenge: Basic JavaScript - Access Array Data with Indexes
Link to the challenge: