correct a mistake

This commit is contained in:
numbbbbb
2014-06-10 16:50:52 +08:00
parent f6c0a09e6e
commit fad7fd2c23
42 changed files with 80 additions and 80 deletions

View File

@ -22,7 +22,7 @@
## 简单值
使用`let`来声明常量,使用`var`来声明变量。一个常量的值在编译时并不需要获取,但是你只能为它赋值一次。也就是说你可以用常量来表示这样一个值:你只需要决定一次,但是需要使用很多次。
使用`let`来声明常量,使用`var`来声明变量。一个常量的值在编译时并不需要获取,但是你必须而且只能为它赋值一次。也就是说你可以用常量来表示这样一个值:你只需要决定一次,但是需要使用很多次。
var myVariable = 42
myVariable = 50