mirror of
https://git.mirrors.martin98.com/https://github.com/cyberman54/curl
synced 2025-08-22 19:59:06 +08:00
9 lines
358 B
JavaScript
9 lines
358 B
JavaScript
function _classExtractFieldDescriptor(receiver, privateMap, action) {
|
|
if (!privateMap.has(receiver)) {
|
|
throw new TypeError("attempted to " + action + " private field on non-instance");
|
|
}
|
|
|
|
return privateMap.get(receiver);
|
|
}
|
|
|
|
module.exports = _classExtractFieldDescriptor, module.exports.__esModule = true, module.exports["default"] = module.exports; |