calling inner-function dynamically in javascript
<p>is it possible to call inner function dynamically(by it's name)?</p>

<p>e.g.</p>

<pre><code>function a(){
    function b(){..}
    var funcName = "b";
    //calling the function b somehow using funcName
}
</code></pre>

<p>I know it's possible by using eval, but I rather not using eval, if b was global function I could use window[funcName] or global[funcName]...</p>
