jquery passing variables to object array
<p>I am trying to pass a dynamic variable and I cant get it to work.</p>

<p>This code works, it returns the artist Kanye West through the API: </p>

<pre><code>searchOptions = { name: 'Kanye West', fuzzy_match: true };
</code></pre>

<p>When I try to insert a string variable it doesn't work.</p>

<p>Like such:</p>

<pre><code>var artistname = "Kanye West";
searchOptions = { name: +artistname, fuzzy_match: true };
</code></pre>

<p>How can I get it to work?</p>

<p>Please help! I really appreciate it</p>
