Skip to content

Instantly share code, notes, and snippets.

@tuckcodes
Created December 22, 2018 07:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tuckcodes/def819dbb4997869f2dc7e2f18844e20 to your computer and use it in GitHub Desktop.
Save tuckcodes/def819dbb4997869f2dc7e2f18844e20 to your computer and use it in GitHub Desktop.
Simple triangle thing
// Triangle Loop
// Just making a triangle kinda thing in the console
let charPound = "#";
for (let index = 0; index < 8; index++) {
console.log(charPound.repeat(index));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment