MCPcopy Create free account
hub / github.com/angular/dev-infra / __privateSet

Function __privateSet

github-actions/browserstack/set-browserstack-env.js:95–99  ·  view source on GitHub ↗
(obj, member, value, setter)

Source from the content-addressed store, hash-verified

93 member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
94 };
95 var __privateSet = (obj, member, value, setter) => {
96 __accessCheck(obj, member, "write to private field");
97 setter ? setter.call(obj, value) : member.set(obj, value);
98 return value;
99 };
100 var __privateMethod = (obj, member, method) => {
101 __accessCheck(obj, member, "access private method");
102 return method;

Callers 15

constructorMethod · 0.70
constructorMethod · 0.70
nextMethod · 0.70
""Function · 0.70
onConnectMethod · 0.70
onDataMethod · 0.70
constructorMethod · 0.70
setHeadersGuardMethod · 0.70
setHeadersListMethod · 0.70
constructorMethod · 0.70
constructorMethod · 0.70

Calls 2

__accessCheckFunction · 0.70
setMethod · 0.45

Tested by

no test coverage detected