confirm()意既确认框
<!DOCTYPE html>
<html>
<head>
<meta charset=UTF-8>
<title>confirm</title>
</head>
<body>
[removed]
var con=confirm(do you like to study javascript?);
if (con) {
[removed](I love javascript!);
}
else{
[removed](I love other lanuages!);
}
[removed]
</body>
</html>
p