Element Foreach z funkcją lub lambda
let data = ["A", "B", "C", "D"];
function process(element)
{
console.log(element);
}
// With named Function
data.forEach(process);
// With Lambda/anonymous Function
data.forEach((element) => console.log(element));
Carsten Schlegel