Newer
Older
alert / js / node_modules / @babel / runtime / helpers / esm / classExtractFieldDescriptor.js
@Réz István Réz István on 18 Nov 2021 247 bytes first commit
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);
}