Sunday, June 10, 2018

JavaScript - Control Structures - Loops - For Loop

Example: Demonstrating usage of for loop in JavaScript

for (i=0;i<7;i++){
  console.log(i);
}

console.log(i);


No comments:

Post a Comment