JavaScript variable not is undefined in IE9
<p>Hello I have next JS code (this code not my own)  </p>

<pre><code> function somename(f) 
    var procName = "";
    var procParams = new Array();
    var parseEl = "";
    var parseEls = new Array();
    var parseInd = 0;
    var procParamsInd = 0;
    var IsValRead = false;
    for (i = 0; i &lt; f.length; i++) {
        if (f[i] == "(")
            break;
        else
            procName = procName + f[i];
    }

}
</code></pre>

<p>I will redo it to much better way to find data before "(", but i wounder why   procName variable is always undefined in IE9 in all browsers all working well.</p>
