title: Best way to convert string to array of object in javascript?
body: <p>I want to convert below string to an array in javascript.</p>
  
  <pre><code>{a:12, b:c, foo:bar}
  </code></pre>
  
  <p>How do I convert this string into array of objects? Any cool idea?</p>