Skip to content

Latest commit

 

History

History
8 lines (4 loc) · 318 Bytes

File metadata and controls

8 lines (4 loc) · 318 Bytes

For Loops

The for statement creates a loop that consists of three optional expressions, enclosed in parentheses and separated by semicolons, followed by a statement or a set of statements executed in the loop.

Yeah that didn't make too much sense to me. Let's simplify this.

Why we need for loops?