| 5 | |
| 6 | // Parent Class |
| 7 | class User { |
| 8 | constructor(id, username) { |
| 9 | this.i = id; |
| 10 | this.u = username; |
| 11 | } |
| 12 | sayHello() { |
| 13 | return `Hello ${this.u}`; |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | // Derived Class |
| 18 | class Admin extends User { |
nothing calls this directly
no outgoing calls
no test coverage detected