()
| 14 | return new Vec(this.x * factor, this.y * factor); |
| 15 | } |
| 16 | get length() { |
| 17 | return Math.sqrt(this.x * this.x + this.y * this.y); |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | // Since we will want to inspect the layouts our code produces, let's |
nothing calls this directly
no outgoing calls
no test coverage detected