Call an object function from a text variable
<pre><code>app = {
    echo: function(txt) {
       alert(txt)
    },
    start: function(func) {
        this.func('hello'); 
    }
}

app.start('echo');
</code></pre>

<p>I need to call whatever function passed as func. How to do that? the example doesn't work for me.</p>
