How to convert an array whose constructor is type String to a regular array in javascript?
<p>I have a string of <code>items</code> that looks like this:</p>

<pre><code>[{},{},{}]
</code></pre>

<p>I run</p>

<pre><code>&gt;typeof items
Object

&gt;items.constructor
function String()
</code></pre>

<p>and I'm trying to loop through the objects but I can't figure out if there is a way to convert the string to an array with some built in function.</p>