mirror of
https://github.com/cp6/my-idlers.git
synced 2025-04-22 02:58:36 +00:00
7 lines
No EOL
247 B
JavaScript
Vendored
7 lines
No EOL
247 B
JavaScript
Vendored
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);
|
|
} |