| 15 | } |
| 16 | |
| 17 | class Calc { |
| 18 | constructor(mult) { |
| 19 | this.mult = mult; |
| 20 | } |
| 21 | times(n) { |
| 22 | const out = n * this.mult; |
| 23 | debugger; // pause with `this` and locals |
| 24 | return out; |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | const inc1 = makeCounter(10); |
| 29 | const c = new Calc(3); |
nothing calls this directly
no outgoing calls
no test coverage detected