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

Function set

code/communication/public/app.js:3107–3111  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

3105 };
3106
3107 function set(val) {
3108 var action = isFunction ? 'setting the method' : 'setting the property';
3109 warn(action, 'This is effectively a no-op');
3110 return val;
3111 }
3112
3113 function get() {
3114 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