jQuery jAM, Season 6

Exercise 2.1

Looping a Triangle

var x = "#";
for(var i = 0; i < 8; i++){
    console.log(x);
   x = x + "#";
}

To open the JavaScript console, press F12 or on MAC press COMMAND-OPTION-I.