Learn Introductory JavaScript by Building a Pyramid Generator - Step 90

Tell us what’s happening:

Help please i already tried a few repairs but still couldn’t do it

Your code so far


// User Editable Region

let rows = [];
let count = 10;
function padRow(done, count) {
  return (done, count);
}
for (let i = 0; i < count; i++){
  rows.push(padRow(true, count));
}



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

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 90

Hi @athalauktolseja
This step requires us to first call padRow function with arguments done and count. The result from that we need to push to the rows. Look at the commented code inside the for loop for reference.
Happy coding !