From a928b0fd58b8869994a5af83e15fb200b27f4fdc Mon Sep 17 00:00:00 2001 From: chvmvd <104971044+chvmvd@users.noreply.github.com> Date: Sat, 22 Jun 2024 12:54:32 +0900 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=E8=AB=96=E7=90=86=E5=80=A4=E3=81=A8?= =?UTF-8?q?=E8=AB=96=E7=90=86=E6=BC=94=E7=AE=97=E5=AD=90=E3=80=8D=E3=81=AE?= =?UTF-8?q?=E7=AB=A0=E3=81=AE=E4=BE=8B=E3=81=AB`document.write`=E3=82=92?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/06-boolean/index.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/06-boolean/index.mdx b/docs/06-boolean/index.mdx index 85a4943..3c8adb5 100644 --- a/docs/06-boolean/index.mdx +++ b/docs/06-boolean/index.mdx @@ -51,6 +51,7 @@ document.write(true || false); // true let isHunterStrong = false; let isMonsterBig = true; let shouldFight = isHunterStrong || !isMonsterBig; // false +document.write(shouldFight); ``` ## 比較演算子 @@ -91,6 +92,7 @@ document.write(age === 13); // false let age = 12; let height = 150; let canRideRollerCoasters = age >= 10 && height >= 120; // true +document.write(canRideRollerCoasters); ``` :::tip