title: Convert array as string to array javascript
body: <p>This might be a dumb question but I have a string like so:</p>
  
  <pre><code>"[1, 2, 3, 4]"
  </code></pre>
  
  <p>I want to convert it into an actual array:</p>
  
  <pre><code>[1, 2, 3, 4]
  </code></pre>
  
  <p>How do I go about this?</p>