In an extended class, we can access the parent class' constructor using the super keyword. By default, this object contains a constructor property, which is simply a reference to the chihuahua. But these chihuahuas can also do something special, they have a small bark. Now as you can imagine, the prototype chain doesn't go on forever.

•5m read time•From dev.to
Post cover image
6 Comments

Sort: