[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Does JavaScript support multidimensional array?
Just found out that Java does not support multidimensional array. So I guess
JavaScript is the same. But Java got away by making an array of an array like
this:
int coords[][] = new int [12][12];
coords[0][0] = 1;
coords[0][1] = 2;
How do I this in JavaScript? Any other way?
_____________________________________________________________________
programmer: Peter B. Nguyen
e-mail: pbn@inet1.inetworld.net
homepage: Babylon 5 - Blackjack
http://www.geocities.com/Hollywood/3100/
_____________________________________________________________________
--------------------------------------------------------------------
For help about the list, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
List archives and pointer to FAQ: http://www.obscure.org/javascript/