title: Why can't I set the 'prototype' of a function created using 'bind'?
body: <p>Consider this code:</p>
  
  <pre><code>function foo(something) {
    this.a = something;
  }
  
  var obj1 = {};
  
  var bar = foo.bind(obj1);
  </code></pre>
  
  <p>Now the following statement doesn't execute:</p>
  
  <pre><code>bar.prototype.newprop = "new"; // Cannot execute this
  </code></pre>
  
  <p>As I understood, every function has a prototype object. Then why can't we execute the above statement?</p>
  
  <p>And bar is indeed a function as we can call it:</p>
  
  <pre><code>bar(2);
  console.log(obj1.a); // 2
  </code></pre>