JavaScript 中window对象常用方法可以实现:显示一个带有提示信息、“确定”和“取消”按钮的确认框 的方法是:
A.alert()
B.confirm()
C.open()
D.prompt()
正确答案是B