Tell us what’s happening:
Not really sure why this is blocking me. I’ve tried with console on line 2 instead of 3 and the result is similar.
Your code so far
const myArray = [50,60,70];
const myData = myArray [0];
console.log(myData);
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.2 Safari/605.1.15
Challenge: Basic JavaScript - Access Array Data with Indexes
Link to the challenge: