what are for in loops used for js 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
}