Learn Introductory JavaScript by Building a Pyramid Generator - Step 28

Tell us what’s happening:

they say that i am wrong but i am right, please fix this

Your code so far


// User Editable Region

let rows = ["code", "learn"];
let pushed = rows.push("freeCodeCamp");
console.log(pushed);

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

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 28

are you?

note that declaring twice the same variable is a syntax error that makes the code stop working, you should see an error message in the console