js for each item do

JavaScript
const array1 = ['a', 'b', 'c'];

array1.forEach(element => console.log(element));let array = ['Item 1', 'Item 2', 'Item 3'];

array.forEach(item => {
	console.log(item); // Logs each 'Item #'
});
Source

Also in JavaScript: