come scorrere un array in javascript
const array = ["one", "two", "three"]
array.forEach(function (item, index) {
console.log(item, index);
});
javascript ciclo forEach array
array.forEach(function calback(item, index, array)
{
/* working codes here */
});