Just nu i M3-nätverket
Jump to content

Tvådimensionell array?


jense

Recommended Posts

Tjena!

 

Visst går det...

 

var multi_array = new Array();
multi_array[0] = new Array(0,1,2,3,4,5,6,7,8,9);
multi_array[1] = new Array(0,1,2,3,4,5,6,7,8,9);
multi_array[2] = new Array(0,1,2,3,4,5,6,7,8,9);

alert(multi_array[2][1]);

 

/ Johan

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...