title: Looping a triangle from Eloquent JavaScript Variable (Eloquent JavaScript)
body: <p>This is the solution:</p>
  <pre><code>for (let line = &quot;#&quot;; line.length &lt; 8; line += &quot;#&quot;)
      console.log(line);
  </code></pre>
  <p>My question is :   If line = &quot;#&quot;, why can't line be used on the right hand side of the <code>+=</code> operator like so:</p>
  <pre><code>for (let line = &quot;#&quot;; line.length &lt; 8; line += line)
      console.log(line);
  </code></pre>