MCPcopy
hub / github.com/krasimir/react-in-patterns / set

Function set

code/dependency-injection-module-system/public/app.js:3123–3127  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

3121 };
3122
3123 function set(val) {
3124 var action = isFunction ? 'setting the method' : 'setting the property';
3125 warn(action, 'This is effectively a no-op');
3126 return val;
3127 }
3128
3129 function get() {
3130 var action = isFunction ? 'accessing the method' : 'accessing the property';

Callers 1

adoptClassInstanceFunction · 0.70

Calls 1

warnFunction · 0.70

Tested by

no test coverage detected