Last change
on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
309 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | function _classPrivateMethodGet(receiver, privateSet, fn) {
|
---|
| 2 | if (!privateSet.has(receiver)) {
|
---|
| 3 | throw new TypeError("attempted to get private field on non-instance");
|
---|
| 4 | }
|
---|
| 5 |
|
---|
| 6 | return fn;
|
---|
| 7 | }
|
---|
| 8 |
|
---|
| 9 | module.exports = _classPrivateMethodGet;
|
---|
| 10 | module.exports["default"] = module.exports, module.exports.__esModule = true; |
---|
Note:
See
TracBrowser
for help on using the repository browser.