Loops repeat code: for with a counter, while as long as a condition is true, for...of to iterate over the values of an iterable, for...in for the keys of an object. break stops the loop and continue moves to the next iteration.
Example
for (const prix of prix_liste) {
total += prix
}