1
2
3
4
5
6
7
8
9
10
11
12
13
| function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
| if (receiver !== classConstructor) {
| throw new TypeError("Private static access of wrong provenance");
| }
|
| if (descriptor.get) {
| return descriptor.get.call(receiver);
| }
|
| return descriptor.value;
| }
|
| module.exports = _classStaticPrivateFieldSpecGet;
|
|