MCPcopy
hub / github.com/react/create-react-app / set

Function set

packages/react-error-overlay/fixtures/bundle_u.mjs:3742–3746  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

3740 };
3741
3742 function set(val) {
3743 var action = isFunction ? 'setting the method' : 'setting the property';
3744 warn(action, 'This is effectively a no-op');
3745 return val;
3746 }
3747
3748 function get() {
3749 var action = isFunction ? 'accessing the method' : 'accessing the property';

Callers

nothing calls this directly

Calls 3

testMethod · 0.80
toStringMethod · 0.80
warnFunction · 0.70

Tested by

no test coverage detected