summaryrefslogtreecommitdiff
path: root/school/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js
blob: 1a8d71bad4e34af464981ac7469d92bf135ce7ad (plain)
1
2
3
4
5
6
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);
}