Skip to content

Instantly share code, notes, and snippets.

@LucasRizzotto
Created February 4, 2015 03:36
Show Gist options
  • Save LucasRizzotto/c8d4159630fd7a8ba33e to your computer and use it in GitHub Desktop.
Save LucasRizzotto/c8d4159630fd7a8ba33e to your computer and use it in GitHub Desktop.
My answer to the Triangle Loop exercise @ Eloquent JS
var i = 0, string = "";
for ( i = 0 ; i < 7 ; i++ ) {
string += "#"
console.log(string)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment