mirror of
https://git.mirrors.martin98.com/https://github.com/cyberman54/curl
synced 2025-11-19 03:01:06 +08: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);
|
|
} |