Learn Introductory JavaScript by Building a Pyramid Generator - Step 66

Tell us what’s happening:

I tried to call padRow function to row.push, as you see. it doesn’t work. Did i do something wrong?

Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 66

you forgot the parenthesis after the function name to actually call it

Omg! I’ve been getting stuck for many hours. I appreciate your assistance.

1 Like