chatty-pub/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js
كارل مبارك 374620645c initial commit
2021-06-26 13:12:56 +02:00

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);
}