Created
February 18, 2017 15:19
-
-
Save ramidem/efec8b983218da31751fc8c23a2bf48f to your computer and use it in GitHub Desktop.
My solution for the Eloquent JavaScript's Chapter 02 exercises.
This file contains 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
// Looping a Triangle | |
let count = 1; | |
let hash = "#"; | |
while (count <= 7) { | |
document.write(hash + "<br>"); | |
count += 1; | |
hash += "#"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment