var myarr=new Array();
for(var i=0;i<2;i++){
myarr[i]=new Array();
for(var j=0;j<6;j++){
myarr[i][j]=i*j;
document.write(myarr[i][j]);<br/>
}
document.write(myarr[i][j]+"<br/>");要这样写