classExtractFieldDescriptor.js 247 B

1234567
  1. export default function _classExtractFieldDescriptor(receiver, privateMap, action) {
  2. if (!privateMap.has(receiver)) {
  3. throw new TypeError("attempted to " + action + " private field on non-instance");
  4. }
  5. return privateMap.get(receiver);
  6. }