The outcome should be an array, power(3,3) =>[3,9,27] but it gives a single value 27.

```
Replace this line with your code.
// Create an empty array called "stack"
var stack = [];
// Here is our recursive function
function power(base, exponent) {
// Base case
if ( exponent === 0 ) {
return 1;
}
// Recursive case
else {
stack[exponent - 1] = base * power(base, exponent - 1);
return stack[exponent - 1];
}
}
power(3,3);
```