Vote count:
0
I'm not very advanced in coding, but I want to do something like this:
function something(id){
somethingElse(id);
anotherThing(id);
}
var sampleArray:Array = [1,2,3];
something(1);
something(2);
something(3);
BUT, I want it to keep function with the argument of each item in the array one time no matter how long the array is.
Any help?
asked 55 secs ago
Aucun commentaire:
Enregistrer un commentaire