Update 02_Basic_Operators.md

编辑错误,202行,“o或”修改为“或”
This commit is contained in:
bzsy
2014-06-10 10:16:27 +08:00
parent c0daec5f4f
commit e91a2de6b3

View File

@ -199,7 +199,7 @@ let c = a++ // a 现在 2, 但 c 是 a 自增前的值 1
```swift ```swift
let three = 3 let three = 3
let minusThree = -three // minusThree 等于 -3 let minusThree = -three // minusThree 等于 -3
let plusThree = -minusThree // plusThree 等于 3, o或 "负负3" let plusThree = -minusThree // plusThree 等于 3, 或 "负负3"
``` ```
单目负号写在操作数之前, 中间没有空格. 单目负号写在操作数之前, 中间没有空格.