I'm new enough to Javascript, and I have a small query about formulating variable names :
function createObjects(int length) {
var count;
for(count=0; count<length; count++;) {
var personObj + "" + count;
}
}
here I want to formulate a different personObj for each iteration of the for loop, is this the correct procedure? will this give me : var personObj1 var personObj2 etc
Thanks! Matt