title: "Object doesn't support this property or method" IE10/11
body: <p>With ES6 taking ahold, I'm eager to drop jQuery and use native JS for my website builds keeping them quick and lightweight. Also to improve my JS skills as I'm one of those whose jumped straight in with jQuery. </p>
  
  <p>I'm building a tiny tiny library to make the more common used javascript in a function to keep the files small. </p>
  
  <pre><code>function $(elm) {
      var elm = document.querySelectorAll(elm);
  
      this.forEach = function(f) {
          [].forEach.call(elm, f);
      }
  
      return elm;
  }
  
  function slider() {
      $(".slider").forEach(function() {
          alert("Hello");
      });
  }
  slider();
  </code></pre>
  
  <p>This works great in Chrome etc.. but in IE10/11 I'm getting the error</p>
  
  <blockquote>
    <p>Object doesn't support this property or method "forEach"</p>
  </blockquote>
  
  <p>referring to the $(".slider").forEach</p>
  
  <p>Any ideas?</p>