for cycle javascrio code example
Example: javascript for loop
// for loop keeps running while condition is TRUE
for (let rep = 1; rep <= 10; rep++) {
console.log(`Lifting weights repetition ${rep}`);
}
// for loop keeps running while condition is TRUE
for (let rep = 1; rep <= 10; rep++) {
console.log(`Lifting weights repetition ${rep}`);
}