(height, width)
| 91 | |
| 92 | class Rectangle extends Polygon { |
| 93 | constructor(height, width) { |
| 94 | super(height, width); |
| 95 | this.name = 'Rectangle'; |
| 96 | } |
| 97 | // Here, sayName() is a subclassed method which |
| 98 | // overrides their superclass method of the same name. |
| 99 | sayName() { |
nothing calls this directly
no outgoing calls
no test coverage detected