MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / setPrototypeOf

Method setPrototypeOf

src/lib/acode.js:348–353  ·  view source on GitHub ↗
(target, prototype)

Source from the content-addressed store, hash-verified

346 return true;
347 },
348 setPrototypeOf(target, prototype) {
349 console.warn(
350 `[Security Alert] Attempt to change prototype of read-only config blocked.`,
351 );
352 return true;
353 },
354 });
355
356 this.define("config", configProxy);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected