title: JS ForEach Loops in IE11
body: <p>I am having issues getting a JS loop to work over 4 elements on a page in IE11. I want the function <code>hideImg</code> to run on mouseover on the element that you hovered over.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>elements.forEach( function(element) {
      element.addEventListener('mouseover', hideImg);
  });
  </code></pre>
  
  <p>I think I've found that <code>forEach</code> loops are not supported in IE, how can I easily convert this to a <code>for</code> loop in plain JS?</p>
  
  <p>Kind regards,<br>
  Steve</p>