I have been trying to pass this step for a while, but I can’t seem to figure out what exactly I am failing to do right. I am supposed to update the third element of my rows array to be the number 10. Then print the rows array to my console. Could anyone give me a hint please?
Thanks
L
Your code so far
let character = 'Hello';
let count = 8;
let rows = ["Naomi", "Quincy", "CamperChan"];
console.log(rows[0]);
// User Editable Region
rows[2] = 10;
console.log(rows[2]);
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:125.0) Gecko/20100101 Firefox/125.0
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 18