const avengers = ['thor', 'captain america', 'hulk']; avengers.forEach((item, index)=>{ console.log(index, item) })
arr.forEach(callback(currentValue [, index [, array]])[, thisArg])