I know this is probably really difficult, because I want something like Object1, Object2, etc. This is what I think might work, but probably won't.
for(var x = 1; x<=10; x++){
var Object + x = new Object();
};
What should I do instead. Thanks in advance!
variable variable name. Javascript does not support this functionality in the way you're trying to do it. It does support arrays withstringindices. So you can do something more likeobjects["Object + x"] = new Object();window['Object' + x] = ....