| 1 | class Animal { |
| 2 | constructor(name) { |
| 3 | this.name = name; |
| 4 | } |
| 5 | |
| 6 | speak() { |
| 7 | console.log(`${this.name} makes a noise.`); |
| 8 | } |
| 9 | } |
| 10 | |
| 11 | class Dog extends Animal { |
| 12 | constructor(name, breed) { |
nothing calls this directly
no outgoing calls
no test coverage detected