const array = ['a', 'b', 'c']; array.forEach(element => console.log(element)); // a, b, c
const array = [1, 2, 3, 4]; const newAraay = array.map(x => x * 2); console.log(newAraay); // [2, 4, 6, 8]