js中for循环用法 10
<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><title>Document</title><scrip...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script type="text/javascript">
var num=new Array('为','什','么');
for(var a;a<num.length;a++)
{
document.write(a[num]);
}
</script>
</head>
<body>
</body>
</html>
错哪了啊 展开
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script type="text/javascript">
var num=new Array('为','什','么');
for(var a;a<num.length;a++)
{
document.write(a[num]);
}
</script>
</head>
<body>
</body>
</html>
错哪了啊 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询