setting a variable to each element of an array
<p>i have function:</p>

<pre><code>function getFieldNames(arrayOfRecords) {
var theStuff;
for (var i = 0; i = arrayOfRecords.length - 1; i++){
    theStuff = arrayOfRecords[i];
    theList = theStuff.split('" ');
    for (var j = 0; j = theList.length - 1; j++) {
        var v = theList[j].split('="');
        fName1[i][j] = v[0];
        }
    }
return fName1;
}
</code></pre>

<p>the argument arrayOfRecords is an array, and i dont know how to setup to the 'theStuff' variable an array element? When I do like it is above, i get something stupid.</p>

<p>can anyone help me? :)</p>
