怎么样改用while语句
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>continue</title>
<script type="text/JavaScript">
var mynum =new Array(70,80,66,90,50,100,89);
var i;
while(i<=6)
if(mynum[i]<60)
{
document.write("成绩不及格,不输出!"+"<br>");
continue
}
document.write("成绩:"+mynum[i]+"及格,输出!"+"<br>");
i=i+1
}
</script>
</head>
<body>
</body>
</html>
这样写那错了,浏览器没输出。