for (var i = 0; i < gameList.length; i++) {
if (ranksInput == rankList[i]) {
setText("textArea", ("Game Title: " + gameList[index] + " \n Ranking: " +
rankList[index] + "\n Platform: " + platformList[index] + "\n Sales: " +
saleList[index]));
return index;
} else {
setText("textArea", ("Please only type a number from 1-50"));
}
}
I was wondering if the text above is considered an iteration. Please help :)
Aucun commentaire:
Enregistrer un commentaire