title: In Javascript, can you extend the DOM?
body: <p>In Javascript, you can extend existing classes by using its prototype object:</p>
  
  <pre><code>String.prototype.getFirstLetter = function() {
      return this[0];
  };
  </code></pre>
  
  <p>Is it possible to use this method to extend DOM elements?</p>