From c95f08d31d910e9a1c4551b4488e80220a851f76 Mon Sep 17 00:00:00 2001 From: chelproc Date: Tue, 12 Apr 2022 15:07:15 +0000 Subject: [PATCH] =?UTF-8?q?=E8=AB=96=E7=90=86=E5=80=A4=E3=81=AB=E9=96=A2?= =?UTF-8?q?=E3=81=99=E3=82=8B=E8=A8=98=E8=BF=B0=E3=81=AE=E8=AA=A4=E3=82=8A?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/1-trial-session/06-boolean/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/1-trial-session/06-boolean/index.md b/docs/1-trial-session/06-boolean/index.md index 4c44d4812..0eb87f1e6 100644 --- a/docs/1-trial-session/06-boolean/index.md +++ b/docs/1-trial-session/06-boolean/index.md @@ -73,5 +73,5 @@ document.write(takaoHeight = everestHeight); -- JavaScript は、数値以外のに比較演算子を適用した際、まずそれらを文字列に変換したうえで、辞書順に比較しようと試みます。 +- JavaScript で、数値と論理値に比較演算子を適用すると、`true` は `1` として、`false` は `0` として比較されます。 - `=` は代入演算子です。代入演算子評価されると、右辺のになります。