switch語句查詢水果價格

語法 switch(n) { case 1: 執行代碼塊 1 break; case 2: 執行代碼塊 2 break; default: 沒有匹配的case時默認執行的代碼 } demo <html> <head> <meta charset="UTF-8"> <title>Document</title> <script> window.onload
相關文章
相關標籤/搜索