<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div id="app"></div>
<script src="../vue.js"></script>
<script>
//被const修饰赋值后,不能修改
//被const修饰必须赋值
//常量的含义是指向的对象不能修改,但可以改变对象的属性
const aaa = {
name: "峰锅",
age: 20,
sex: "男"
}
aaa.name = "峰锅锅"
console.log(aaa.name)
console.log(aaa)
</script>
</body>
</html>