Identify the calculation performed by the following code.
function calcArea(length, width) {

var rectArea = length*width;

return rectArea;

}

var x = 8;

var y = 6;

calcArea(x, y);

a.
48
b.
96
c.
28
d.
56

Respuesta :

Answer:

48

Explanation:

The function returns length * width

In the function call, the values are legnth: 8 and width: 6 this means the function is returns 8 * 6 wich is 48.