mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-28 11:25:16 +00:00
10 lines
358 B
JavaScript
10 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["default"] = module.exports, module.exports.__esModule = true; |