编辑下面的代码:【加编码】
<html> <body> <script type="text/vbscript"> Dim cars(2) cars(0)="Volvo" cars(1)="Saab" cars(2)="BMW" For Each x In cars document.write(x & "<br>") Next </script> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂