title: Why can't i pass `push` as a foreach function?
body: <pre><code>var array = [];
  document.querySelectorAll("a").forEach(array.push); //Uncaught TypeError: Cannot convert undefined or null to object
  </code></pre>
  
  <p>Why does this fail? what does this error mean? It seems perfectly reasonable to pass an array method as a function, what am I not understanding/seeing?</p>