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

Method defineProperty

src/lib/acode.js:336–341  ·  view source on GitHub ↗
(target, prop, descriptor)

Source from the content-addressed store, hash-verified

334 return true;
335 },
336 defineProperty(target, prop, descriptor) {
337 console.warn(
338 `[Security Alert] Attempt to define property '${String(prop)}' on read-only config blocked.`,
339 );
340 return true;
341 },
342 deleteProperty(target, prop) {
343 console.warn(
344 `[Security Alert] Attempt to delete property '${String(prop)}' on read-only config blocked.`,

Callers 15

onDeviceReadyFunction · 0.80
index.jsFile · 0.80
ScrollBarFunction · 0.80
defineDeprecatedPropertyFunction · 0.80
loadPolyFillFunction · 0.80
closeFunction · 0.80
checkFiles.jsFile · 0.80
handleErrorFunction · 0.80
polyfill.jsFile · 0.80
EditorManagerFunction · 0.80
mainSettingsFunction · 0.80
getFunction · 0.80

Calls 1

StringInterface · 0.85

Tested by

no test coverage detected