Movatterモバイル変換


[0]ホーム

URL:


  1. Glossary
  2. Loop

Loop

Aloop is a sequence of instructions that is repeated until a certain condition is met. An example would be the process of getting an item of data and changing it, and then making sure somecondition is checked — such as if a counter has reached a prescribed number.

Loops are one way to execute a statement for a variable number of times. The same effect can be achieved withrecursion, especially in languages where all data isimmutable, making it impossible to update a counter variable.

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp