title: overloading vs overriding in javascript
body: <p>In a recent JavaScript interview I was asked about <a href="https://softwareengineering.stackexchange.com/questions/164353/whats-the-difference-between-overloading-a-method-and-overriding-it-in-java">overloading vs overriding</a>. I know this is a concept in Java. But is there something similar in JavaScript, and if so what would be code examples?  My understanding is that overloading isn't common in javascript. Why would you need to use "<strong>overloading</strong>" in JS?  </p>
  
  <p>OverRiding is a bit clearer to me - an example of over riding would be in subclassing where you are inheriting from a super class but over riding some methods/properties to create unique ones for a sub class.  </p>