data.forEach is not a function
<p>This is my json</p>

<pre><code>[
"59191", "TypeAV - Canada", "Available", 
"422129", "TypeAA - Italy", "Available", 
"959191", "TypeBB - USA", "N/A", 
"6D968C", "TypeAV - Canada", "Available"
]
</code></pre>

<p>and js</p>

<pre><code>$.ajax({url: 'test.json'}).done(function(data) {
  $.each(myArr, function () {
    data.forEach(function (line) {
       //do something
    });
  })
})
</code></pre>

<p>I get a <code>Uncaught TypeError: data.forEach is not a function</code>. How to fix this?</p>