Browse Source

docs(triangle): fix example

pull/1112/head
davhojt 2 years ago committed by Dav Hojt
parent
commit
cda2112b98
  1. 5
      subjects/triangle/README.md

5
subjects/triangle/README.md

@ -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`:
```
*
**

Loading…
Cancel
Save