While condition not getting terminated
<pre><code>if(childrens are present) {

   while(childrens.length ! ==0) {

            do something

    }
}   

// Execute this function fnName()
</code></pre>

<p>My problem here is the while condition is getting executed, but when the length becomes zero... it does not come out... and execute the fnName()</p>
