最近评论
正在载入评论列表...
![]() |
![]() |
|
for(i=0;i<10;i++){
|
}

<html>
<head>
<title>使用循环存取数组</title>
</head>
<body>
<script language="javascript">
|
a = new Array();
for(i=0;i<10;i++){
|
}
for(i=0;i<10;i++){
document.write("a[" + i + "] = ");
document.write(a[i],"<br>");
}
|
</script>
</body>
</html>

图1.24