js list of strings to string : <p>I need to convert list of strings</p>

<pre><code>const ar: string[] = ['str1', 'str2']
</code></pre>

<p>to a string which contains <code>ar</code> container with square brackets <code>[]</code> and quotes <code>"</code></p>

<pre><code>const str: string = `["str1", "str2"]`
</code></pre>

<p>how to do it in proper way?</p>
