Skip to content
English

Making decisions

  • if (test) { ... } runs its block only when the test is true.
  • else gives the path to take when the test is false.
中文

做决定

  • if (test) { ... } 只有在测试为 true 时才运行它的代码块。
  • else 给出测试为 false 时要走的路。

Log in or create account · ⁨登录或创建账户⁩

IGCSE, A-Level · ⁨IGCSE、A-Level⁩ & AP · ⁨与 AP⁩