mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-28 21:32:20 +00:00
Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages
This commit is contained in:
commit
7f66176c1f
@ -349,7 +349,7 @@ f() // ReferenceError: f is not defined
|
||||
|
||||
## const命令
|
||||
|
||||
const也用来声明变量,但是声明的是常量。一旦声明,常量的值就不能改变。
|
||||
const 声明一个只读的常量。一旦声明,常量的值就不能改变。
|
||||
|
||||
```javascript
|
||||
'use strict';
|
||||
|
Loading…
x
Reference in New Issue
Block a user