for循环中的i 变量如何随着循环改变???
<!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();
myArr[0]=80;
myArr[1]=60;
myArr[2]=99;
for (var i = 0; i < myArr.length; i++) {
document.write("第i个人的成绩是"+myArr[i]+"<br>");
}
</script>
</head>
<body>
</body>
</html>