The .forEach() method is one of the oldest ones available and allows calling a function (a callback or arrow function) once for each array element. In this example, the function prints out each value in its own line.
Read more at: https://imelgrat.me/javascript/array-object-iteration-javascript/