How can I do this programmatically?
<p>I don't know how can I do this programmatically:</p>

<pre><code>var a={a:"a",b:"b"};
return a.a;
         |
        I want to change this programmatically, how can I do that?
</code></pre>

<p>without using <code>eval()</code>?</p>
