-
言曌博客liuyanzhao_com
分号打错了Js 中出现语法错误,会导致不执行。你中间那个分号打错了,换成英文的分号即可
-
慕的地8582982
BKZCSUPSOKAFVDZDNQLOQZIRUJFOKNCEARVDGQTHWSBKCMPRPYHJLOQVKNRBLADSZIJXAJSPENJFHBVBKLPFNSMCNPFVXUVEGJFKTPZIYUDMIEXNILBXOLAWSCLOEBSHJFOXWGWZOQAPFHQMVKTKAJXZBEVLHESIFNQZPFHKADAPGHXEZOYIEHDTTQFZBQFDMOWSBKNPMWMOSOKNDPYADTCSOQGJLYCIVNDRAAKXTBKTUJUPSAKGVYHVSHJTIWEBRLUQGIRGTWFQFWZOKTBGJRHEORGPYUACGPZUPFBDGQSUKTWFVQLHRGQGDGCMBXTVCLORACZOKGSAWNCXFVDADJMIZAPRHCYOAPRBXYVLNCYENWZVXBQFIRTCSOYBDZUKTUWYPYHPZVXAZBXZCRGWSOXXGPEHXMCDGVDFHDGVRHWYUOXACYPZPKTQUQFOKNWTIRBQTWMQNKGBEUPKNXHQZACEHNDGWYOSPLBRLMVLCSVLTCFLHENWNPTORTXAPRURILHBXVKMWFBKMBWSIXGRFVYHPFOBXGIYUPSOEGWYHXAKACDNPMIXLHEARMJFHDSIRUQTIRFSUQAWZHWLVEOJMORZPMORHRORTCMPTIRAYNQTPSUYGQZHQSBEBKFUXAQYNENWTPRAQLNQTQSJZHCYNTMKYVVIBURNYHUIRHEDNMJNNUHSWMFVFJFGWQRHIUUNRKTKBIYXAUTGGFNHUEVKUKPYMJMMSIYSDUUNRVWCTCCIQLCCVSTGVFOJLILLCTJCVCZJHRTQGKZHRYNQNQTPSVSHEACZKNWMBKAKNPLCLNYACEOKAPSIMPLUDAJTPFWZJTIYPYARODFVRHDRHXHDUKGBROMHJSVSCFORHMBLUYPSBXZH
-
__无悔
@言曌博客是对的
-
李行知
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<script>
var age=prompt('请输入')
if(age>18){
alert('>')
}else{
alert('<')
}
</script>
</body>
</html>并没有出现这种问题,初步推测是因为浏览器原因,可能是你关闭了弹窗,自己百度下怎么开启吧