title: var vs this in Javascript object
body: <p>I'm developing a web framework for node.js. here is the code;  </p>
  
  <pre><code>function Router(request, response) {
          this.routes = {};
  
          var parse = require('url').parse;
  
          var path = parse(request.url).pathname,
              reqRoutes = this.routes[request.method],
              reqRoutesLen = reqRoutes.length;
  
          ..... // more code
  
  };
  </code></pre>
  
  <p>Should I change all the var to this, like so:</p>
  
  <pre><code>function Router(request, response) {
          this.routes = {};
  
          this.parse = require('url').parse;
  
          this.path = this.parse(request.url).pathname;
          this.reqRoutes = this.routes[request.method];
          this.reqRoutesLen = this.reqRoutes.length;
  
          ..... // more code
  
  };
  </code></pre>
  
  <p>Any comments?</p>