source: trip-planner-front/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js@ fa375fe

Last change on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 240 bytes
Line 
1export default function _classPrivateFieldBase(receiver, privateKey) {
2 if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
3 throw new TypeError("attempted to use private field on non-instance");
4 }
5
6 return receiver;
7}
Note: See TracBrowser for help on using the repository browser.