<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<script>
//与、一假则假
console.log(false && true)
//或、一真则真
console.log(false && false)
//非、取反
console.log(!true)
</script>
</body>
</html>
04_逻辑运算符
最新推荐文章于 2024-08-19 15:26:06 发布