我需要打印一个二维数组等:
var myArray = [
[0,1,2,0],
[0,1,2,0]
[0,1,2,0]
[0,1,2,0]
[0,1,2,0]
[0,1,2,0]
];
并使输出完全显示数组的样子:
ETC
alert(myArray);
将显示:
var myArray = [
[0,1,2,0],
[0,1,2,0]
[0,1,2,0]
[0,1,2,0]
[0,1,2,0]
[0,1,2,0]
];
我需要打印一个二维数组等:
var myArray = [
[0,1,2,0],
[0,1,2,0]
[0,1,2,0]
[0,1,2,0]
[0,1,2,0]
[0,1,2,0]
];
并使输出完全显示数组的样子:
ETC
alert(myArray);
将显示:
var myArray = [
[0,1,2,0],
[0,1,2,0]
[0,1,2,0]
[0,1,2,0]
[0,1,2,0]
[0,1,2,0]
];