Questenaتمرینی که نشان می‌دهد بعد چه چیزی را مرور کنید
سؤال 97

Which description correctly combines the normal phase order of a for statement with the effect of an executed break?

  1. Initializer once, then condition, body, and update; break exits before later updatesپاسخ درست
  2. Condition once, then initializer, update, and body; break runs the update
  3. Initializer before every condition check; break restarts initialization
  4. Body before initialization; break then performs one final update

توضیح

The initializer runs once, then each normal cycle checks the condition, executes the body, and performs the update. An executed break exits the loop immediately, so later iterations and the update for that interrupted cycle do not run.

ادامهٔ این آزمون

شروع تمرین
سؤال 97: Which description correctly combines the normal phase order… · JavaScript Fundamentals · Questena