MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / set

Function set

src/modules.mjs:307–313  ·  view source on GitHub ↗
(target, prop, value)

Source from the content-addressed store, hash-verified

305 executeJSLibraryFile(filename, contents) {
306 const userLibraryProxy = new Proxy(this.library, {
307 set(target, prop, value) {
308 target[prop] = value;
309 if (!isDecorator(prop)) {
310 target[prop + '__user'] = true;
311 }
312 return true;
313 },
314 });
315
316 const isUserLibrary = !isBeneath(filename, systemLibdir);

Callers 1

get_wiki.pyFile · 0.50

Calls 1

isDecoratorFunction · 0.90

Tested by

no test coverage detected