Projekt

Obecné

Profil

Stáhnout (311 Bajtů) Statistiky
| Větev: | Revize:
1
export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
2
  if (receiver !== classConstructor) {
3
    throw new TypeError("Private static access of wrong provenance");
4
  }
5

    
6
  if (descriptor.get) {
7
    return descriptor.get.call(receiver);
8
  }
9

    
10
  return descriptor.value;
11
}
(21-21/80)