missing ; after for-loop initializer
<pre><code>var nodeWordsString = document.getElementById("nodeWordsTextArea").value.trim();
    var nodeWordsStringArray=nodeWordsString.split(" ");
    var strLength = nodeWordsStringArray.length;
    for(int i = 0; i &lt; nodeWordsStringArray.length; i++)-----&gt;******
    {
        for(int j = 0; j &lt; nodeWordsStringArray.length; j++)
        {
            if(nodeWordsStringArray(i) == nodeWordsStringArray(j))
            {
                alert("Node duplication occurred at:"+nodeWordsStringArray(i));
                return false;
                //break;
            }
        }
    }
</code></pre>

<p><strong>*</strong>*showing error like <code>missing ; after for-loop initializer</code> in java script console(firebug).
please help me.  </p>
