Introductory javascript step 59

Replace the character.repeat(i + 1) in your .push() call with a function call for your padRow function.

const character = "#";
const count = 8;
const rows = [];

function padRow(rowNumber, rowCount) {
  return character.repeat(rowNumber);
}


for (let i = 0; i < count; i = i + 1) {
  **rows.push(character.repeat(i + 1))**
}

let result = ""

for (const row of rows) {
  result = result + "\n" + row;
}

console.log(result);

my solution: rows.push(padRow)

but im getting an error
You should call padRow in your .push() call.

got it. calling padRow function should be


``