• 2022-06-17
    现有JavaScript程序[br][/br]var x=prompt(“请输入1-5的数字!”,“”);[br][/br]switch (x){[br][/br]case “1”:alert(“one”);break[br][/br]case “2”:alert(“two”);break case “3”:alert(“three”);break case “4”:alert(“four”);break case “5”:alert(“five”);break default: alert(“none”); }[br][/br]运行以上程序,在提示对话框中输入“4”,弹出的对话框将输出: ( )
    A: fou
    B: four,five,none
    C: five
    D: five,none
  • 举一反三