title: using bind(this) and passing an argument together
body: <p>I would like to understand how to use bind(this) in this specific case:</p>
  
  <pre><code>this.resizeImages(maxcat, this); //this belongs to the Widget Object
  
  Widget.prototype.resizeImages = function(maxcat, self)
  {
      switch(maxcat)
      {
          case "firstcase":
              self.piePaper.path(activityImages[maxcat]);
          break;            
      }
  }
  </code></pre>
  
  <p>instead of using two arguments, how do I use bind(this) and pass the argument maxcat together?</p>
  
  <p>I would like to have a method like this:</p>
  
  <pre><code>Widget.prototype.resizeImages = function(maxcat)
  {
      switch(maxcat)
      {
          case "firstcase":
              this.piePaper.path(activityImages[maxcat]); //this belongs to the Widget Object
          break;            
      }
  }
  </code></pre>
  
  <p>I would like to have something like: <code>this.resizeImages(maxcat).bind(this);</code> that of course it doesn't work, it's just to give an example.</p>