源代码:
下载代码
AI 编程工具
点击运行
<!DOCTYPE html> <html> <body> <script type="text/vbscript"> Dim food(2,3) food(0,0)="Apple" food(0,1)="Banana" food(0,2)="Orange" food(0,3)="Lemon" food(1,0)="Pizza" food(1,1)="Hamburger" food(1,2)="Spaghetti" food(1,3)="Meatloaf" food(2,0)="Cake" food(2,1)="Cookie" food(2,2)="Icecream" food(2,3)="Chocolate" document.write(LBound(food,1) & "<br>") document.write(UBound(food,1) & "<br>") document.write(LBound(food,2) & "<br>") document.write(UBound(food,2) & "<br>") </script> </body> </html>
运行结果: