WHAT THIS BUG? For JS "Access the data in the array through an index"

const myArray = [50, 60, 70];

var myDate = myArray[0];

This is my code. But it have some wrong , for “Access the data in the array through an index” .
It report an error , "The variable myData should be equal to the first value of myArray. "


Could you please provide link to the challenge step?

Basic JavaScript: Access Array Data with Indexes | freeCodeCamp.org

You have a typo in variable name, doublecheck it please

ohhh , i see . “date” and “data” ,ty

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