This commit is contained in:
2023-09-18 11:21:50 +08:00
parent 8038f02f30
commit 85e41f3ef9
31 changed files with 1802 additions and 30 deletions
+20
View File
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="author" content="flykhan" />
<meta name="keywords" content="c c++ 物联网" />
<title>JS运算符</title>
</head>
<body>
<script>
let x = 100,
y = "100";
// == 只比较值
// ===也比较数据类型
console.log(x === y);
console.log(x == y);
</script>
</body>
</html>