<!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>
标签:进制,whichObject,浮点数,数据类型,js,isChecked,var,null
From: https://blog.csdn.net/weixin_58694594/article/details/141756660