У вашего броузера проблема в совместимости с HTML5
For Each loops are pretty situation-specific, so it took me some time to find a decent example of when I'd even use one. You can probably program around them but they save a lot of time and they're overall really useful to understand.