As you can see, mastering js object inheritance is so easy
Prototype chain inheritance
Inheritance is achieved by pointing the prototype of a child class to an instance of the parent class. If a parent class has a private property of reference type, then this property is shared by all subclasses when it is i...
biubiubiu.hashnode.dev4 min read