DEV Community

Discussion on: JavaScript 'for loops' for Newbies

Collapse
 
jonrandy profile image
Jon Randy 🎖️

It is also possible to omit the statement(s) to run, and do all processing purely in the expressions. If you do this however, you must follow the closing bracket of the loop conditions with a semicolon (one of the few cases in JS where the semicolon is mandatory)