Pertanyaan

Step 49 You are calling your padRow function, but not doing anything with that function call. All functions in JavaScript return a value, meaning they provide the defined result of calling them for you to use elsewhere. To see the result of calling your square function, declare a call variable and assign your existing square call to that variable.

Solusi

Terverifikasi Ahli
3.3 (136 Suara)
Kapil elit ยท Tutor selama 8 tahun

Jawaban

The variable to store the result of the function call is 'call'.

Penjelasan

## Step 1The problem is about understanding the concept of functions in JavaScript. In JavaScript, every function performs a specific task and returns a value. This value can be used in other parts of the code.## Step 2The problem statement mentions a function called 'padRow'. However, the function is not being used anywhere in the code. To use the function and its returned value, we need to call the function and store the returned value in a variable.## Step 3The problem statement suggests that we should declare a variable to store the result of the function call. This variable will hold the value returned by the 'padRow' function.