classPrivateFieldDestructureSet.js 392 B

123456
  1. import classApplyDescriptorDestructureSet from "./classApplyDescriptorDestructureSet.js";
  2. import classExtractFieldDescriptor from "./classExtractFieldDescriptor.js";
  3. export default function _classPrivateFieldDestructureSet(receiver, privateMap) {
  4. var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
  5. return classApplyDescriptorDestructureSet(receiver, descriptor);
  6. }