Tell us what’s happening:
How do I use rows.length in bracket notation???
Your code so far
let character = 'Hello';
let count = 8;
let rows = ["Naomi", "Quincy", "CamperChan"];
console.log(rows[0]);
// User Editable Region
rows.length[2] = 10;
console.log(rows.length[2] - 1);
// User Editable Region
console.log(rows);
Your browser information:
User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 17_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Mobile/15E148 Safari/604.1
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 22