Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

9.4.1.2. Loop Condition¶

/*This loop does not iterate at all, because its condition is false to 
start with.*/

for (let i = 0; i < -1; i++) {
   console.log("LaunchCode");
}
Source by education.launchcode.org #
 
PREVIOUS NEXT
Tagged: #Loop
ADD COMMENT
Topic
Name
8+8 =