Je tente de créer un tableau a 2 dimensions
1 dim ->PAGE
2 dim -> PassWord
la trace ne me renvoi undefined![]()
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 mon_arrayPw = new Array(); mon_arrayPw[0][0] = "Listing/pageA.html"; mon_arrayPw[0][1] = "toto"; mon_arrayPw[1][0] = "Listing/pageB.html"; mon_arrayPw[1][1] = "tata"; mon_arrayPw[2][0] = "Listing/pageC.html"; mon_arrayPw[2][1] = "tata"; trace(mon_arrayPw[1][0]);
Partager