title: alternative (or the same?) as javascript prototype
body: <p>I want to understand prototyping in javascript.
  For example:</p>
  
  <p><strong>1)</strong></p>
  
  <pre><code>var MyObject = function() {
      this.a = "a";
      return this;
  }
  
  MyObject.prototype.fn = function() {console.log('1');}
  
  
  var obj1 = new MyObject1();
  </code></pre>
  
  <p><strong>2)</strong></p>
  
  <pre><code>var MyObject = function() {
      this.a = "a";
      this.fn = function() {console.log('1');}
      return this;
  }
  
  var obj2 = new Object2();
  </code></pre>
  
  <p>I get <strong>obj1</strong> and <strong>obj2</strong> as the same. So, what I am doing in <strong>2)</strong> is also prototype'ing? Or not? What am I missing about prototype?</p>