Tell us what’s happening:
{Replace your log statement with a statement to push i to your rows array. }
what does the above question means? Help me out .
Your code so far
const character = "#";
const count = 8;
const rows = [];
// User Editable Region
for (let i = 0; i < count; i = i + 1) {
rows = rows.push(i)
console.log(rows);
}
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 38