use array entries in for each 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);
});