title: Using `window.location.hash.includes` throws “Object doesn't support property or method 'includes'” in IE11
body: <p>I am checking the URL to see if it contains or includes a <code>?</code> in it to control the hash pop state in the window. All other browsers aren’t having an issue, only IE.</p>
  
  <p>The debugger gives me this error when I try to load in this way:</p>
  
  <blockquote>
    <p>Object doesn't support property or method '<code>includes</code>'</p>
  </blockquote>
  
  <p>I get no error when I load the page in through the popstate.</p>
  
  <pre><code>    $(document).ready(function(e) {
          if(window.location.hash) {
              var hash;
              if(window.location.hash.includes("?")) {
                  alert('I have a ?');
                  hash = window.location.hash.substring(window.location.hash.indexOf('#') + 0,window.location.hash.indexOf('?'));
              }else {
                  hash = window.location.hash;
              };
              if (hash=="#DRS" || hash=="#DRP" || hash=="#DFFI" || hash=="#DCI" || hash=="#DCP" || hash=="#DRP" || hash=="#DRMA" || hash=="#EICS" || hash=="#ORG"){
                  $(hash+'Content').addClass('pageOn').removeClass('pageOff');
              }else {
                  $('#homeContent').addClass('pageOn').removeClass('pageOff');
              };
          } else {
              $('#homeContent').addClass('pageOn').removeClass('pageOff');
          }
          $(window).on('popstate', function() {
              var hash;
              if(window.location.hash.includes("?")) {
                  hash = window.location.hash.substring(window.location.hash.indexOf('#') + 0,window.location.hash.indexOf('?'));
              }else {
                  hash = window.location.hash;
              };
              if (hash=="#DRS" || hash=="#DRP" || hash=="#DFFI" || hash=="#DCI" || hash=="#DCP" || hash=="#DRP" || hash=="#DRMA" || hash=="#EICS" || hash=="#ORG"){
                  $(this).navigate({target: $(hash+'Content')});
                  if(window.location.hash.includes("?")) {
                  }else{
                      location.href = location.href+'?';
                  }
              }else {
                  $(this).navigate({target: $('#homeContent')});
              };
          });
  });
  </code></pre>