Learn Introductory JavaScript by Building a Pyramid Generator - Step 25

Tell us what’s happening:

I did’nt understand what to do in this, i am literally confused that i m writting the right solution but still how can it give an error i have assigned a new variable pushed

rows.push("freeCodeCamp");
let pushed = rows.push("freeCodeCamp");
console.log(pushed);


Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 25

You shouldn’t be pushing twice. You’ve assigned a push to the pushed variable, so you don’t need the other push.

You push 2 times.
Delete the first push statement.