title: Javascript "this" in static methods
body: <p>I have a code like that:</p>
  
  <pre><code>User = function(){}
  
  User.a = function(){
    return "try";    
  }
  
  User.b = function(){
  
  }
  </code></pre>
  
  <p>​
  From User.b() I can call User.a() using:</p>
  
  <pre><code>User.b = function(){
      return User.a();
      }
  </code></pre>
  
  <p>but not using this since it's not an instance of user (User.a() and User.b() are something like "static methods").</p>
  
  <p>What i want to do is to be able to call User.a() from User.b() without knowing which is the main function, in this case User.</p>
  
  <p>Something like this to be used in static methods.</p>