Learn Introductory JavaScript by Building a Pyramid Generator - Step 36

Tell us what’s happening:

I couldn’t pass this. I need help please. I have tried different solutions but all incorrect.

Your code so far

const character = "#";
const count = 8;
const rows = [];
const i = i+1;

// User Editable Region

for (let i = 0; i < count; i++) {
console.log(i);
}

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 36

Hi and welcome to the forum.
Please use an assignment statement instead of the increment operator. (They show an example)