Basic JavaScript - Access Array Data with Indexes

Tell us what’s happening:
Describe your issue in detail here.
What is going how do i assess myArray with the brackets?
Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Mobile Safari/537.36

Challenge: Basic JavaScript - Access Array Data with Indexes

Link to the challenge:

The tests don’t like that you have a space between the array name and the brackets. Technically, I don’t think it matters, but to make the tests happy you need to get rid of that space.

In general, I would not add extra spaces where they are not needed. You, and the tests, will be much happier.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.