Is there anything like return a function?
<p>I have a requirement where I get the anchor tags id and based on the id I determine which function to execute.. so is there anything that suites below code</p>

<pre><code>function treeItemClickHandler(id)
{
 a=findDisplay(id);
 a();
}
</code></pre>
