can i write a normal for loop in javascript? code example
Example 1: javascript for loop[
for(i=0;i<=5;i++){
console.log(i);}
Example 2: for next loop javasxcrop
for (i = 0; i < 5; i++) {}
for(i=0;i<=5;i++){
console.log(i);}
for (i = 0; i < 5; i++) {}