var i in data code example
Example 1: javascript for loop
for (var i; i < 10; i++) {
}
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