update: 将仓库语言识别为js

This commit is contained in:
qianguyihao
2020-05-03 08:54:37 +08:00
parent 10f420e090
commit 9c1007c292
2 changed files with 15 additions and 1 deletions

View File

@@ -109,3 +109,17 @@ if (result?.user?.name?.length) {
### 2020-04-28-字符串添加白名单
```js
if ('str1' == ('str1' || 'str2')){
console.log('smyhvae);
}
```
注意上面的代码根本就不会走 console.log语句因为if里面的内容是false