<html>
<head>
</head>
<body>
<script type="text/javascript>
var x;
var cooper=new Array();
cooper[0]="保安";
cooper[1]="城管";
cooper[2]="交警";
cooper[3]="刑警";
cooper[4]="武警";
cooper[5]="法警";
for(x in cooper)
{document.write("我是:"+cooper[x]+"</br>");}
</script>
</body>
</html>
我的这段代码怎么无法正常输出???
添加回答
举报
0/150
提交
取消