main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
343 bytes
|
Line | |
---|
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 | return receiver;
|
---|
6 | }
|
---|
7 | module.exports = _classPrivateFieldBase, module.exports.__esModule = true, module.exports["default"] = module.exports; |
---|
Note:
See
TracBrowser
for help on using the repository browser.