提交 591e98a4 编写于 作者: fxy060608's avatar fxy060608

Update operator.md

上级 d9561eb5
...@@ -83,9 +83,12 @@ let a = 64 | temp ...@@ -83,9 +83,12 @@ let a = 64 | temp
| 运算符 | 范例 | 描述 | | 运算符 | 范例 | 描述 |
| ------------ | ---------------- | -------- | | ------------ | ---------------- | -------- |
| 逻辑与(&&) | expr1 && expr2 | (逻辑与) | | 逻辑与(&&) | condition1 && condition2 | (逻辑与) |
| 逻辑或(\|\|) | expr1 \|\| expr2 | (逻辑或) | | 逻辑或(\|\|) | condition1 \|\| condition2 | (逻辑或) |
| 逻辑非(!) | !expr | (逻辑非) | | 逻辑非(!) | !condition1 | (逻辑非) |
**注意**
逻辑运算符操作数的类型必须是Boolean
## 字符串运算符(String operators)@String-operators ## 字符串运算符(String operators)@String-operators
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册