title: Convert string "[1,2,3]" to array [1,2,3] in JavaScript
body: <p>I have a string which is structured as a list of arrays.</p>
  <p><code>&quot;['Test', 1, 'Test 2'],['Test 3', 2, 'Test 4]&quot;</code></p>
  <p>how to do I convert the string to be an array</p>
  <p><code>['Test', 1, 'Test 2'],['Test 3, 2, 'Test 4']</code></p>
  <p>I've tried eval and it only interprets the first array <code>['Test', 1, 'Test 2']</code></p>