为什么什么都不输出
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>break</title>
<script type="text/JavaScript">
var mynum =new Array(70,80,66,90,50,100,89);//定义数组mynum并赋值
for(int i=0;i<mynum.length;i++){
if(mynum[i]>=60){
document.write("成绩:"+mynum[i]+"及格,继续循环");
}else{
document.write("成绩"+mynum[i]+"不及格,退出循环");
break;
}
}
</script>
</head>
<body>
</body>
</html>