javascript loop from 1 to n code example
Example 1: javascript for loop
for (let count = 0; count < 90; count++) {
// ...
}
Example 2: for in loop javascript
var person = {"name":"taylor","age":31};
for (property in person) {
console.log(property,person[property]);
}
//name taylor
//age 31