Created
December 17, 2021 11:04
-
-
Save anonymoustafa/1b0ad3b880eeea9d27b7b78a1bacf11e to your computer and use it in GitHub Desktop.
Drawing triangles in terminal using nodejs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let s = "*"; | |
| for (; s.length < 99; s = "*" + s) | |
| console.log(s); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment