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

Function set

code/one-direction-data-flow/public/app.js:2945–2949  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

2943 };
2944
2945 function set(val) {
2946 var action = isFunction ? 'setting the method' : 'setting the property';
2947 warn(action, 'This is effectively a no-op');
2948 return val;
2949 }
2950
2951 function get() {
2952 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