Basic JavaScript - Access Array Data with Indexes

Tell us what’s happening:
Describe your issue in detail here.
What is the mistake?

Your code so far

const myArray = [50, 60, 70];
const mydata = myArray[0];

Your browser information:

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

Challenge: Basic JavaScript - Access Array Data with Indexes

Link to the challenge:

Absolutely nothing wrong with that. I might suggest you reset the lesson and try it again, there may be something glitchy?

very minor problem, remember to use camel case.

2 Likes