📅  最后修改于: 2022-03-11 15:02:01.740000             🧑  作者: Mango
var proceed = confirm("Are you sure you want to proceed?");
if (proceed) {
alert("You proceed!")
} else {
alert("You didnt proceed!")
}