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

Method constructor

tests/fixtures/advanced-script.js:18–20  ·  view source on GitHub ↗
(mult)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected