Define object by a variables string
<p>Hard to explain.. I basicly want to do the following:</p>

<pre><code>var doWhat = "speak";

var speak = {
    hello: function() { alert: "Hello!"; }
};

// Won't work
doWhat.hello();
</code></pre>

<p>It's a bad example, but you should be able to get what I mean.
Is it possible somehow ?</p>
