MCPcopy Create free account
hub / github.com/ScriptedAlchemy/devtools-debugger-mcp / Calc

Class Calc

tests/fixtures/advanced-script.js:17–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17class 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
28const inc1 = makeCounter(10);
29const c = new Calc(3);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected