In IE getting error like "Wrong number of arguments or invalid property assignment"
<p>In IE getting error like:</p>

<pre><code> "Wrong number of arguments or invalid property assignment"
</code></pre>

<p>Here is my sample code:</p>

<pre><code> if (!test[0].childNodes || !test[0].childNodes.length || 
                                     !test[0].childNodes[0].nodeValue) {
        test1 =test[0].childNodes ="";
   }else{
        test1 =test[0].childNodes[0].nodeValue;
   }
</code></pre>

<p>Could you please help me on this. Please suggest me is there any solution</p>