How does JS remove the quotation marks before and after the string? : <p>How can I remove the quotation marks on both sides?</p>

<p><strong>Want the result as follows</strong></p>

<pre><code>[{"id":1,"photo":"111"},{"id":2,"photo":"222"}]
</code></pre>

<p><strong>my code:</strong></p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>var a = "[{"id":1,"photo":"111"},{"id":2,"photo":"222"}]"</code></pre>
</div>
</div>
</p>
