
Inheritance
In OO languages, we want to stay DRY and avoid getting WET. Inheritance allows us to avoid writing duplicate code. JavaScript classes give us this ability… We can use this animal class and extend (inherit) it to another object. Here’s an example… The output would be “Bongo”. We extended the

