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

Function set

code/styling/public/app.js:3072–3076  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

3070 };
3071
3072 function set(val) {
3073 var action = isFunction ? 'setting the method' : 'setting the property';
3074 warn(action, 'This is effectively a no-op');
3075 return val;
3076 }
3077
3078 function get() {
3079 var action = isFunction ? 'accessing the method' : 'accessing the property';

Callers 2

adoptClassInstanceFunction · 0.70
app.jsFile · 0.70

Calls 1

warnFunction · 0.70

Tested by

no test coverage detected