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