Conditional (条件式)
条件 とは、条件式が満たされるか否かによって、通常のコード実行を強制停止したり、変更したりする、一連のルールです。
特定の条件が満たされる場合、1 つの命令または一連の命令が実行されます。それ以外では、他の命令が実行されます。1 つの命令または一連の命令の実行を、条件がまだ満たされない間に繰り返すこともできます。
詳細情報
>一般知識
学習教材
- MDN での 制御フローとエラー処理
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2024 by individual mozilla.org contributors. Content available under a Creative Commons license.