Learn Introductory JavaScript by Building a Pyramid Generator - Step 20

Tell us what’s happening:

my code is perfectly written with correct syntax braces but its output the same thing in all the written code i have tried my best .

Your code so far

let character = 'Hello';
let count = 8;
let rows = ["Naomi", "Quincy", "CamperChan"];

// User Editable Region

 rows[2] =10;
console.log(rows);
console.log(rows);



// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 20

Spacing is a little odd, but passable.

Why print the rows array twice?

I HAVE WRITTEN ALL THE POSSIBLE WAY TO PASS THE CODE THIS CODE IS ONE OF THEM .

delete one of these, it will work

Did you try printing rows to the console only once?