1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-25 19:22:21 +00:00

Merge pull request #180 from erniu/gh-pages

const定义说明是否再斟酌一下
This commit is contained in:
Ruan YiFeng 2016-05-12 07:29:50 +08:00
commit 3961e40a2f

View File

@ -349,7 +349,7 @@ f() // ReferenceError: f is not defined
## const命令
const也用来声明变量,但是声明的是常量。一旦声明,常量的值就不能改变。
const 声明一个只读的常量。一旦声明,常量的值就不能改变。
```javascript
'use strict';