Last change
on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
345 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | 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 | }
|
---|
| 8 |
|
---|
| 9 | module.exports = _classPrivateFieldBase;
|
---|
| 10 | module.exports["default"] = module.exports, module.exports.__esModule = true; |
---|
Note:
See
TracBrowser
for help on using the repository browser.