MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / enableProperty

Function enableProperty

ses.cjs:4960–4966  ·  view source on GitHub ↗
(path, obj, prop)

Source from the content-addressed store, hash-verified

4958 }
4959
4960 function enableProperty(path, obj, prop) {
4961 const desc= getOwnPropertyDescriptor(obj, prop);
4962 if( !desc) {
4963 return;
4964 }
4965 enable(path, obj, prop, desc);
4966 }
4967
4968 function enableAllProperties(path, obj) {
4969 const descs= getOwnPropertyDescriptors(obj);

Callers 1

enablePropertiesFunction · 0.85

Calls 2

getOwnPropertyDescriptorFunction · 0.85
enableFunction · 0.85

Tested by

no test coverage detected