Javascript for loop hashtag : <p>Hey I am trying to print out #, by increasing the amount of # for each line. like this:</p>

<pre><code>#
##
###
####
#####
</code></pre>

<p>Here is the for loop that I have tried to work this out with:</p>

<pre><code>var printout = "";
for(var i=0;i&lt;5;i++) {
            printout+= "#" + " &lt;br&gt;";
</code></pre>
