6 lines
No EOL
246 B
JavaScript
Executable file
6 lines
No EOL
246 B
JavaScript
Executable file
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);
|
|
} |