setInterval of a private function
<p>i want to do a setInterval of a function that is at the same level as the declaration of the setinterval but not global</p>

<p><strong>Example:</strong></p>

<pre><code>function a()
{
    function b(){alert("hi");}
    setInterval("b()",1000);
}
</code></pre>
