1 | function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
|
2 | if (receiver !== classConstructor) {
|
3 | throw new TypeError("Private static access of wrong provenance");
|
4 | }
|
5 |
|
6 | if (!descriptor.writable) {
|
7 | throw new TypeError("attempted to set read only private field");
|
8 | }
|
9 |
|
10 | descriptor.value = value;
|
11 | return value;
|
12 | }
|
13 |
|
14 | module.exports = _classStaticPrivateFieldSpecSet; |
\ | No newline at end of file |