a = new Array;
for (i=0 ; i < 10 ; i++)a[i] = new Array;

これでそれっぽく出来た
x×yの一次元配列をやりくりじゃダメなの?
俺は面倒だから全部それでやってるけど