请帮我看看为什么不能输出
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>二维数组</title>
<script type="text/javascript">
var myarr=new Array();
for (var i=0;i<3;i++){
myarr[i]=new Array();
foy(var j=0;j<6;j++){
myarr[i][j]=i+j;
}
}
for(var z=0;i<myarr.length;z++){
document.write(myarr[z][j]);
for(varj=0;j<myarr[z].length;j++ ){
document.write(myarr[z][j]);
</ br>
}
}
</script>
</head>
<body>
</body>
</html>