title: Javascript bind on object literal methods not working
body: <p>The bind method does not transfer the 't' variable as the new 'this' keyword to the "ob.bind_part()' object literal function?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var ob = {
  
    "first": function() {
      console.log("first function");
      var t = "new bind";
      ob.bind_part.bind(t);
    },
  
  
    "bind_part": function() {
      console.log(this.toString());
    }
  
  };
  
  
  (function() {
    ob.first();
  
    ob.bind_part(); // returns the 'ob' object instead of the bind
  
  })();</code></pre>
  </div>
  </div>
  </p>
  
  <p>However, instead of bind if 'call' is used</p>
  
  <pre><code> ob.bind_part.call(t); //THIS WORKS
  </code></pre>
  
  <p>it works?</p>
  
  <p>any idea why bind does not work?</p>
  
  <p>thanks</p>