source: node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 356 bytes
Line 
1function _classExtractFieldDescriptor(receiver, privateMap, action) {
2 if (!privateMap.has(receiver)) {
3 throw new TypeError("attempted to " + action + " private field on non-instance");
4 }
5 return privateMap.get(receiver);
6}
7module.exports = _classExtractFieldDescriptor, module.exports.__esModule = true, module.exports["default"] = module.exports;
Note: See TracBrowser for help on using the repository browser.