Cant solve this one i need help plz

Tell us what’s happening:

Your code so far


let myArray = "a";
// Only change code below this line

myArray[1] = "not b anymore";

myArray[2] = "c";

myArray[3] = "d";
// Only change code above this line
console.log(myArray);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; ) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36.

Challenge: Access an Array’s Contents Using Bracket Notation

Link to the challenge:

Hello~!

It looks like you might have changed this line. You only want to change the code between

// Only change code below this line

and

//Only change code above this line

1 Like

Put the “a” between square brackets, like this:
let myArray = [“a”];

1 Like

ty solved bro :grinning: