for Loop
Repeats code once for each item in a collection.
What is for Loop in JavaScript?
for Loop — Repeats code once for each item in a collection.
for (let day = 0; day < 3; day++) {
scheduled[day] = true;
}
Level: Apprentice · More JavaScript terms at this level
Updated