title: ES6 spread syntax IE not supported
body: <p>I have a javascript code that is given below that is ES6 compatible however IE 11 does not support this. What would be the replacement code for this such that it works across all browsers?</p>
  
  <pre><code>[...document.querySelectorAll('.row')]
  </code></pre>
  
  <p>Im using this for 'click' event handling:</p>
  
  <pre><code>Array.prototype.slice.call(document.querySelectorAll('.row'))
      .forEach(function(header) {
        return header.addEventListener('click', function(e) {
          headerClick(e, header, header.querySelector('.exy'))
        });
      });
  </code></pre>