title: Empty Function use in Javascript
body: <p>I am trying to understand a third party Javascript code.
  But am not able to figure out what is the use of the below coding style.</p>
  
  <pre><code> function A(){
      }
  A.Prop = '23';
  A.generate = function(n){
     // do something
  }
  </code></pre>
  
  <p>And then it is just used as :</p>
  
  <pre><code>A.generate(name);
  </code></pre>
  
  <p>Can someone explain what this code is doing.
  I understand some bit of OO Javascript, but i wonder if this is any other form of extending an object with new properties to it. Though i dont see any "new" keyword being used, to create an object.</p>
  
  <p>Any ideas ?</p>
  
  <p>Thanks,</p>