From 39139bf7e441a8822c77d858cb5adb46353cc8a5 Mon Sep 17 00:00:00 2001 From: ish-kafel <1136461977@qq.com> Date: Fri, 8 Mar 2019 00:28:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit smart header 不应该翻译 --- 1-js/02-first-steps/11-logical-operators/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/11-logical-operators/article.md b/1-js/02-first-steps/11-logical-operators/article.md index e7d370c979..3be9d543fd 100644 --- a/1-js/02-first-steps/11-logical-operators/article.md +++ b/1-js/02-first-steps/11-logical-operators/article.md @@ -230,7 +230,7 @@ alert( 1 && 2 && null && 3 ); // null alert( 1 && 2 && 3 ); // 3,最后一个值 ``` -````聪明的头脑知道:"与运算 `&&` 在或操作符 `||` 之前执行" +````smart header="与运算 `&&` 在或操作符 `||` 之前执行" 与运算 `&&` 的优先级比或运算 `||` 要高,所以它将会比或运算先执行。 下面代码中的,`1 && 0` 将会首先被运算: