Inheritance in JavaScript

57.1% Acceptance

In this lab, you will be working with inheritance in JavaScript. Your task is to create an Animal class with a method called saySomething. Next, create a Dog class that extends the Animal class. Override the saySomething method in the Dog class to return a specific message. Finally, create an instance of the Dog class and test the saySomething method.