<!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>
<script>
// 1.Number数字类型
var age = 18
// 2.String浮点数 小数
var price = 12.25
var str = 'hello'
// 3.Boolean布尔
var isChecked = true
var isChecked = false
// 4.Undefined声明了但是没赋值
var which
// 5.null
var whichObject = null
whichObject = {name:"kerwin"}
console.log(whichObject)
// 6.Symbol
// 7.6进制 10进制 2进制
var c=0b11
</script>
</head>
<body>
</body>
</html>
08-27
1750
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-28
269
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)