const array = ["one", "two", "three"] array.forEach(function (item, index) { console.log(item, index); });
const array = ["hello", "world"]; for (item of array) { //DO THIS }