Tell us what’s happening:
I don’t know what i am doing wrong and have tried many different ways and nothing is making any sense.
Your code so far
let character = 'Hello';
let count = 8;
let rows = ["Naomi", "Quincy", "CamperChan"];
// User Editable Region
let cities = ["London","New York","Mumbai"];
console.log(cities[0])
cities[2] = Mexico City;
console.log(cities[0])
// User Editable Region
console.log(rows);
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 24