var a = {
edades = [12,15,16,2,12,45,60,15]
};
for(var i=0;i<a;i++) {
console.log("Soy:" +i);
}
As a story if there are repeated numbers in array
ages, and if they repeat only execute the instructions once (but only for that element) ?
In other words, if there were:
var b = [1,2,3,4,5,6,7,1];
The one that is repeated is 1, then it would show:
,2,3,4,5,6,7,1
and the first 1 not since it is repeated