I'm using a tags plugin that takes input like this just fine:

```
$(this).tagHandler({
   assignedTags: [ 'test','from','reddit' ]
});

```

If however I create a variable named tags that is a string:

```
tags = "'test','from','reddit'";

```

And attempt to use it in the function it gets treated as a single string.

```
$(this).tagHandler({
   assignedTags: [ tags ]
});

```

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

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