docs(operator): fix typo

This commit is contained in:
ruanyf
2021-09-07 18:18:08 +08:00
parent 57b35de539
commit 149379e7bf
2 changed files with 2 additions and 2 deletions

View File

@@ -436,7 +436,7 @@ x = 1, 2, 3;
5 * 6 / 2;
```
上面示例中,`*``-`的优先级相同,它们都是左结合运算符,所以从左到右执行,先计算`5 * 6`,再计算`6 / 2`
上面示例中,`*``/`的优先级相同,它们都是左结合运算符,所以从左到右执行,先计算`5 * 6`,再计算`6 / 2`
运算符的优先级顺序很复杂。下面是部分运算符的优先级顺序(按照优先级从高到低排列)。

View File

@@ -25,6 +25,6 @@
"gh-pages": "^3.2.3",
"husky": "^4.3.8",
"loppo": "^0.6.24",
"loppo-theme-wangdoc": "^0.6.0"
"loppo-theme-wangdoc": "^0.6.1"
}
}