Learn Introductory JavaScript by Building a Pyramid Generator - step 22

Tell us what’s happening:

help pls I am stock on step 22 building a Pyramid Generator .

Your code so far

let character = 'Hello';
let count = 8;
let rows = ["Naomi", "Quincy", "CamperChan"];
console.log(rows[0]);

// User Editable Region

//didn't work\\
rows[rows.lenght -1] = 10;

// User Editable Region

console.log(rows);

Your browser information:

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

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 22

hi is anyone here pls help me .

here is my console output

//console output

Naomi
[ ‘Naomi’, ‘Quincy’, ‘CamperChan’, NaN: 10 ]

console output\\

hi anyone pls help I really want to continue .

Patience!

You have a spelling error.

oh we need to swoop the h and t . it will be like this
length

thanks a lot I make a lot of mistaks like that .

correct answer

rows[rows.length - 1] = 10;