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

Function set

code/third-party/public/app.js:2305–2309  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

2303 };
2304
2305 function set(val) {
2306 var action = isFunction ? 'setting the method' : 'setting the property';
2307 warn(action, 'This is effectively a no-op');
2308 return val;
2309 }
2310
2311 function get() {
2312 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