mirror of
https://github.com/cp6/my-idlers.git
synced 2025-04-21 18:48:37 +00:00
9 lines
No EOL
358 B
JavaScript
Vendored
9 lines
No EOL
358 B
JavaScript
Vendored
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; |