I need a javascript for loop it should print 10 to 1 like it should print still 1
<p>I need a javascript for loop it should print 10 to 1 like it should still 1.</p>

<p>My JS Code:</p>

<p><code>var b = "";
    var inc = "";
    var k = 10;
    for(a = k;a &gt;= 1; a--){ 
     for(i=k; i&lt;=1; a++)
     {
      console.log(parseInt(inc)); 
     }
    }
    console.log(parseInt(b));</code></p>

<p>What am expecting is: <br><br>
10 9 8 7 6 5 4 3 2 1<br>
9 8 7 6 5 4 3 2 1<br>
8 7 6 5 4 3 2 1<br>
7 6 5 4 3 2 1<br>
6 5 4 3 2 1<br>
5 4 3 2 1<br>
4 3 2 1<br>
3 2 1<br>
2 1<br>
1</p>