Function treats string as single value instead of parsing
<p>I'm using a tags plugin that takes input like this just fine:</p>

<pre><code>$(this).tagHandler({
   assignedTags: [ 'test','from','reddit' ]
});
</code></pre>

<p>If however I create a variable named tags that is a string:</p>

<pre><code>tags = "'test','from','reddit'";
</code></pre>

<p>And attempt to use it in the function it gets treated as a single string.</p>

<pre><code>$(this).tagHandler({
   assignedTags: [ tags ]
});
</code></pre>

<p>Instead of being processed through the function I end up with 'test','from','reddit' as a single tag.</p>

<p>I have a feeling this is a common problem but haven't found the right search phrase to identify the solution.</p>
