09. BASICS | Loops in JavaScript
for loop
Loops a block of code number of times.
for (statement1; statement2; statement3) {
// code to be executed
}
statement1 is executed for one time only.
statement2 is the condition based
javascript-topicwise-notes.hashnode.dev2 min read