Tell us what’s happening:
I have tried below but all ways getting following error and can not go to the next steps.
rows[2]=10;
console.log(rows[2]);
what is going wrong. I am getting “you should use bracket notation on the rows”??
Your code so far
let character = 'Hello';
let count = 8;
let rows = ["Naomi", "Quincy", "CamperChan"];
// User Editable Region
console.log(rows);
console.log(rows[2]=10);
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 21