📜  javascript代码示例中确认框的返回值

📅  最后修改于: 2022-03-11 15:03:24.878000             🧑  作者: Mango

代码示例1
A confirm box is often used if you want the user to verify or accept something. When a confirm box pops up, the user will have to click either "OK" or "Cancel" to proceed. 
If the user clicks "OK", the box returns true. If the user clicks "Cancel", the box returns false.