Learn Introductory JavaScript by Building a Pyramid Generator - Step 26

Tell us what’s happening:

currently am stuck on how to call the method,not sure what to be insert

Your code so far

let character = 'Hello';
let count = 8;

// User Editable Region

let rows = ["Naomi", "Quincy", "CamperChan"];
rows.push("freeCodeCamp");
let popped;
let popped = rows.pop(popped);
console.log(popped);
console.log(rows);

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14816.131.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 26

Remove the first line here as you are already defining the variable in the second line

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.