UNPKG

247 BJavaScriptView Raw
1export 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
6 return privateMap.get(receiver);
7}
\No newline at end of file