javascript for each intex code example
Example: iterate array javascript
arr.forEach(function callback(currentValue [, index [, array]]) {
// Ihr Iterator
}[, thisArg]);
arr.forEach(function callback(currentValue [, index [, array]]) {
// Ihr Iterator
}[, thisArg]);