Basic JavaScript - Access Array Data with Indexes

Can somebody tell my why i cant pass this ? what am i doing wrong ?

Your code so far

const myArray = [50, 60, 70];
console.log(myArray[0])

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Access Array Data with Indexes

Link to the challenge:

You don’t need to log this

You need to create a variable and assign

to it

1 Like