Skip to content

Commit 58ee1ec

Browse files
committed
docs(operator): edit boolean operator, fix wangdoc#173
1 parent 17c27fd commit 58ee1ec

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/operators/boolean.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ true && 'foo' && '' && 4 && 'foo' && true
9696
// 3
9797
```
9898

99-
上面代码中,例一里面,第一个布尔值为`false`的表达式为第三个表达式,所以得到一个空字符串。例二里面,所有表达式的布尔值都是`true`所有返回最后一个表达式的值`3`
99+
上面代码中,例一里面,第一个布尔值为`false`的表达式为第三个表达式,所以得到一个空字符串。例二里面,所有表达式的布尔值都是`true`所以返回最后一个表达式的值`3`
100100

101101
## 或运算符(||)
102102

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@
3838
"gh-pages": "latest",
3939
"husky": "latest",
4040
"loppo": "latest",
41-
"loppo-theme-wangdoc": "^0.4.5"
41+
"loppo-theme-wangdoc": "^0.4.6"
4242
}
4343
}

0 commit comments

Comments
 (0)