Something unclear in a challenge

i want to refer to the challenge in the oop section of the JS curriculum, here is the link to it:
Use Inheritance So You Don’t Repeat Yourself

the problem I have is when I create a parent/supertype called animal, how am I going to use it to access the method I stored in it which is called describe, through the first constructor functions Dog and Bird?
remember that the method animal carries have a which is not set in the constructor function animal as property.
how is this Don’t Repeat Yourself principle it useful in this case ?
thank you.

Continue going with the following challenges, you still have not connected Bear and Cat to Animal

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.