Javascript String to JSON
<p>How to can get this </p>

<pre><code>var myString = 'a,b';
</code></pre>

<p>in the following in most efficient way</p>

<pre><code>var myObject = { a:1, b:1};
</code></pre>

<p>I need 1 to be associated with each param. Thank you.</p>
