为啥用click出不来
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<script type="text/javascript">
function click(){
var mychar=confirm("关注JS高级篇");
if(mychar==true){
document.write("你很棒!");
}else{
mychar.close();
}
}
</script>
</head>
<body>
<input type="button" value="JS进阶篇" onclick="click()"/>
</body>
</html>