I created some vars inside vars, then i made a loop to go var per var, the thing is i can't acces the inside variables, sorry if i didn't explain well, here's my code:
var Variable1 = {
Name: "Variable1",
Age: 25,
Brothers: 2
};
var Variable2= {
Name: "Variable2",
Age: 10,
Brothers: 3
};
/******************************************************* */
var TotalVariables= 2;
/******************************************************* */
for(var i = 1; i <= TotalVariables; i++) {
console.log(("Variable" + i).Age);
}