想输出数组内容,要怎么写才ok呢~
var myarr=new Array();
for(var i=0;i<3;i++)
{
myarr[i]=new Array();
document.write("<br>");
for(var j=0;j<5;j++){
myarr[i][j]=i*j;
document.write(myarr[i][j]);
}
var a= [1,2,"aaa","bbb"]a[0] //1
a[1] //2
a[2] //aaa
a[3] //bbb