title: Default constructor in Javascript
body: <p>In the MDN, it is mentioned that if we don't specify a constructor method, a default constructor is used. </p>
  
  <p>For base classes, the default constructor is:</p>
  
  <pre><code>constructor() {}
  </code></pre>
  
  <p>For derived classes, the default constructor is:</p>
  
  <pre><code>constructor(...args) {
    super(...args);
  }
  </code></pre>
  
  <p>Why derived classes default constructor has rest parameters (...args) and base class default constructor does not have? </p>