How can I assign null value to an array element?
<p>I am facing too small problem, could you give me idea how to solve that.</p>

<pre><code>for(var j=cArray.length-1;j&gt;=0;j--)
{
  if(cArray[j]=='.') {
    cArray[j]='';
    break;
  }
  else{
    cArray[j]='';
  }
}
</code></pre>

<p>I wrote this for loop in javascript.NULL value is not assigning to array element.
At last i am getting what is the content in cArray[j] only.I can't able to change that value.My declaration is correct or not?</p>
