javascript for every index in array do this code example
Example: foreach loop javascript
const numList = [1, 2, 3];
numList.forEach((number) => {
console.log(number);
});
const numList = [1, 2, 3];
numList.forEach((number) => {
console.log(number);
});