<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<title>
continue
</title>
<script type=
"text/JavaScript"
>
var
mynum =[70,80,66,90,50,100,89];
//定义数组mynum并赋值
var
i=-1;
while
(i < 6)
{
i=i++;
if
(mynum[i]<60)
{
continue
;}
document.write(
"成绩为"
+mynum[i]+
"及格"
+
'<br>'
);
}
</script>
</head>
<body>
</body>
</html>
i=i++为什么不能写在document.write的后面?
Hanna_Liu
shiasn
weibo_邬焜传奇_0
相关分类