## Pyramid

### Instructions

Create a function named `pyramid` which works just like your `triangle` function. But, it should be pyramid shaped.

### Output example

- `*` character and depth of 5 :

```
    *
   ***
  *****
 *******
*********
```

> No new line in last line

### Notions

- [Loops](https://nan-academy.github.io/js-training/examples/loops.js)
- [Recursion](https://nan-academy.github.io/js-training/examples/recursion.js)
