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