## Triangle ### Instructions Create a function named `triangle` that takes a string and a number as arguments. Your function will return a string representing a triangle. The string will denote the characters which construct the triangle, and the number denotes its depth. ### Example ```js console.log(triangle('*', 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)