Tell us what’s happening:
When an array holds values, or elements, those values are separated by commas. Here is an array that holds two strings:
Example Code
let array = [“first”, “second”];
Change your rows declaration to be an array with the strings “Naomi”, “Quincy”, and “CamperChan”. The order of values in an array is important, so follow that order. Remember that strings are case-sensitive.
Your code so far
// User Editable Region
let character = 'Hello';
let count = 8;
let array = []
// 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/140.0.0.0 Safari/537.36
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 19