Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Koala extends Animal
- {
- type = animalType.KOALA;
- constructor()
- {
- super();
- console.log("OH IM A NEW KOALA IM HAPPY TO BE ALIVE!");
- }
- }
- // please create a new classe for the lion, inheriting from animal...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement