title: Why doesn't JavaScript ES6 support multi-constructor classes?
body: <p>I want to write my Javascript class like below.</p>
  
  <pre><code>class Option {
      constructor() {
          this.autoLoad = false;
      }
  
      constructor(key, value) {
          this[key] = value;
      }
  
      constructor(key, value, autoLoad) {
          this[key] = value;
          this.autoLoad = autoLoad || false;
      }
  }
  </code></pre>
  
  <p>I think it would be nice if we can write out class in this way.
  Expect to happen:</p>
  
  <pre><code>var option1 = new Option(); // option1 = {autoLoad: false}
  var option2 = new Option('foo', 'bar',); // option2 = {foo: 'bar'}
  var option3 = new Option('foo', 'bar', false); // option3 = {foo: 'bar', autoLoad: false}
  </code></pre>