source:
trip-planner-front/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js
Last change on this file was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 240 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 1 | export 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.