classStaticPrivateFieldDestructureSet.js 563 B

12345678
  1. import classApplyDescriptorDestructureSet from "./classApplyDescriptorDestructureSet.js";
  2. import classCheckPrivateStaticAccess from "./classCheckPrivateStaticAccess.js";
  3. import classCheckPrivateStaticFieldDescriptor from "./classCheckPrivateStaticFieldDescriptor.js";
  4. export default function _classStaticPrivateFieldDestructureSet(receiver, classConstructor, descriptor) {
  5. classCheckPrivateStaticAccess(receiver, classConstructor);
  6. classCheckPrivateStaticFieldDescriptor(descriptor, "set");
  7. return classApplyDescriptorDestructureSet(receiver, descriptor);
  8. }