writing for loop in javascript object code example
Example: looping in javascript
for (initialization; test condition; iteration statement) {
Statement(s) to be executed if test condition is true
}
for (initialization; test condition; iteration statement) {
Statement(s) to be executed if test condition is true
}