classStaticPrivateFieldSpecGet.js 484 B

12345678
  1. import classApplyDescriptorGet from "./classApplyDescriptorGet.js";
  2. import assertClassBrand from "./assertClassBrand.js";
  3. import classCheckPrivateStaticFieldDescriptor from "./classCheckPrivateStaticFieldDescriptor.js";
  4. export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
  5. assertClassBrand(classConstructor, receiver);
  6. classCheckPrivateStaticFieldDescriptor(descriptor, "get");
  7. return classApplyDescriptorGet(receiver, descriptor);
  8. }