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

Function set

code/controlled-uncontrolled/public/app.js:2396–2400  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

2394 };
2395
2396 function set(val) {
2397 var action = isFunction ? 'setting the method' : 'setting the property';
2398 warn(action, 'This is effectively a no-op');
2399 return val;
2400 }
2401
2402 function get() {
2403 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