title: Is there something wrong with extending native Javascript prototypes?
body: <p>I have seen some people regard extending the natives prototypes in Javascript with disdain. I was thinking about doing it, because of syntactic convenience. I.e.</p>
  
  <pre><code>function(array, element)
  </code></pre>
  
  <p>can be more cumbersome to write and less readable than</p>
  
  <pre><code>array.function(element)
  </code></pre>
  
  <p>But the second can only be acheived (AFAIK) by extending the <code>Array</code> prototype. Is there something wrong with extending native prototypes, and will doing this somehow haunt be me later?</p>