title: Printing multi dimensional Javascript array
body: <p>The code that sends the string looks like this, is it a json response perhaps?</p>
  
  <pre><code>    $.getJSON(loadUrl, parameters, function (response) {
          callback(response.data);
      })
  </code></pre>
  
  <p>Does this mean that the response indeed is json? See below screenshot for the actual response given (when using <code>alert(data)</code>):</p>
  
  <p><img src="https://i.stack.imgur.com/zD0pB.png" alt="enter image description here"></p>
  
  <p>EDIT:
  I think that the returned data is indeed json. This is what the console looks like when printing the data returend:
  <img src="https://i.imgur.com/G3DfbGq.png" alt="enter image description here"></p>
  
  <p>EDIT2:</p>
  
  <p>The response was indeed json. I looped it like below:</p>
  
  <pre><code>$(data).each(function(index, element){  
  $('#scores').append('&lt;tr&gt;&lt;td&gt; '+element[0]+' &lt;/td&gt; &lt;td&gt; '+element[1]+' &lt;/td&gt;&lt;/tr&gt;');       
      })
  </code></pre>