Hello Readers, Inheritance is an important concept in object-oriented programming (OOP). It forms one of the four pillars of OOP. Usually, in inheritance, methods from base class get copied into derived class. Now, you might be thinking JavaScript is not an object-oriented programming then why it supports the concept of inheritance? Yes, in spite of