比较运算符
<!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 d = 1>2
console.log(d)
// == 判断左右两边的数据大小是否相等。不同数据类型的判断;存在隐式转化
// 隐士转化,将不同的数据类型转化为相同的数据类型;在进行比较
// === 全等;既判断数据大小也判断数据类型是否相同
var bool = d
d == 0
console.log(bool)
var bool2 = d===3
console.log(bool2)
</script>
</body>
</html>