docs(triangle): fix example

This commit is contained in:
davhojt 2022-05-01 19:40:58 +01:00 committed by Dav Hojt
parent 4207837381
commit cda2112b98
1 changed files with 2 additions and 3 deletions

View File

@ -8,9 +8,8 @@ The string will denote the characters which construct the triangle, and the numb
### Example
```js
console.log(triangle('*', 5))
```
- `*` character and depth of `5`:
```
*
**