**Tell us what’s happening:**

I was wondering what the code is doing here: multiply(arr, n - 1 ) * arr[n - 1];

```
function multiply(arr, n) {
if (n <= 0) {
return 1;
} else {
return multiply(arr, n - 1) * arr[n - 1];
}
}
```

**Your browser information:**

User Agent is: `Mozilla/5.0 (X11; CrOS x86_64 13020.87.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.119 Safari/537.36`

.

**Challenge:** Replace Loops using Recursion

**Link to the challenge:**