Skip to content

Commit 08a6a6c

Browse files
singlenekoleviding
authored andcommitted
Update article.md (javascript-tutorial#279)
修正字误 如果一个表达式拥有「操作」一个运算符 → 如果一个表达式拥有「超过」一个运算符
1 parent 5138dc2 commit 08a6a6c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

1-js/02-first-steps/07-operators/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ alert( +apples + +oranges ); // 5
127127

128128
## 运算符优先级
129129

130-
如果一个表达式拥有操作一个运算符,执行的顺序由 **优先级** 决定。换句话说,在所有运算符中隐含着优先级顺序。
130+
如果一个表达式拥有超过一个运算符,执行的顺序由 **优先级** 决定。换句话说,在所有运算符中隐含着优先级顺序。
131131

132132
从小学开始,我们知道在表达式 `1 + 2 * 2` 中,乘法先于加法计算。这就是一个优先级问题。乘法比加法拥有 **更高的优先级**
133133

0 commit comments

Comments
 (0)