Learn Introductory JavaScript by Building a Pyramid Generator - Step 44

Tell us what’s happening:

To see the result of calling your padRow function, declare a call variable and assign your existing padRow call to that variable.
do not understand this question. i mean if we use const in a function it cant be modied but then the question demands to modify the function. which is obviously not possible if we are dealing with const data type. so what is the solution for this problem. i required such solution which not only solve this problem but also help me understand the working of procedure!!

Your code so far


// User Editable Region

const call;
 padRow(call);
 

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

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 44

The padrow() function take no agruments.

The instruction asked you to:

  • Declare a variable named call

  • Assign the value returned from padrow() function to variable call

I’ve been stuck on this too

SOLUTION IS REMOVED by moderator

Please don’t post the solution, it is not allowed here on the forum.
Only hints, advices and useful links are welcome
Thanks

1 Like