title: Why does the InfoBubble.js author reassign protoype methods with bracket notation?
body: <p>From Google Maps Utility Library looking at the <a href="http://code.google.com/p/google-maps-utility-library-v3/source/browse/trunk/infobubble/src/infobubble.js" rel="nofollow">source of InfoBubble</a> I found that the author creates prototype methods with dot notation, but then at the end of the method definition he reassigns the same proto property with bracket notation.</p>
  
  <p>This should clarify:</p>
  
  <pre><code>/**
   * Set the style of the shadow
   *
   * @param {number} shadowStyle The style of the shadow.
   */
  InfoBubble.prototype.setShadowStyle = function(shadowStyle) {
    this.set('shadowStyle', shadowStyle);
  };
  InfoBubble.prototype['setShadowStyle'] = InfoBubble.prototype.setShadowStyle;
  </code></pre>
  
  <p>Any idea?</p>