mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
7 lines
247 B
JavaScript
7 lines
247 B
JavaScript
|
|
export default function _classExtractFieldDescriptor(receiver, privateMap, action) {
|
||
|
|
if (!privateMap.has(receiver)) {
|
||
|
|
throw new TypeError("attempted to " + action + " private field on non-instance");
|
||
|
|
}
|
||
|
|
|
||
|
|
return privateMap.get(receiver);
|
||
|
|
}
|