Cliquer sur le lien pour afficher l'attribut name et class2 d'une liste
var aList = new Array();
aList[0] = { name: "Banshee", class2: "Small", target: "Small", race: "Terran", metal: "2000", crystal: "500", eonium: "500" };
function alertAlist(theIndex) {
var s = '';
s = '.name : ' + aList[theIndex].name + '\n'
+ '.class2: ' + aList[theIndex].class2 + '\n';
alert(s);
}