Learn Introductory JavaScript by Building a Pyramid Generator - Step 27

Tell us what’s happening:

On step 27 I am really stuck. How do you call the .pop( ) method?

let rows = [“Naomi”, “Quincy”, “CamperChan”];

rows.push(“freeCodeCamp”);

console.log(rows);

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

// User Editable Region

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

// 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/126.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 27

just call it rows.pop() without any parameter as per the example given in the step.
Also re-read the step as you have another mistake.