Learn Introductory JavaScript by Building a Pyramid Generator - Step 19

Tell us what’s happening:

It keeps saying that I need to access my rows array. What am I doing wrong?

Your code so far


// User Editable Region

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

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Safari/605.1.15

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 19

you are not printing the first value of the array as requested