I have the following code:
var arAddresses = document.getElementsByClassName("ClsAnschrift");
arAddresses.forEach(element => console.log(element.innerHTML));
and I get the following error: Uncaught TypeError: arAddresses.forEach is not a function What is the Problem?