title: Create a function that creates x rows and y columns of "*"
body: <p>The output (in this case) I want is three rows of "**" as the row is 3 and the column is 2. 
        </p>
  
  <pre><code>  function drawbox(row,column){
      for (var j=0;j&lt;row;j++)
      {
      for (var i=0;i&lt;column;i++)
      {   document.write("*");
          if (i=(column-1))
            {document.write("&lt;br&gt;")}
  
      }
  
      }              
    }
  
    drawbox(3,2);
  
  
  &lt;/script&gt;
  </code></pre>