classPrivateFieldSet.js 371 B

1234567
  1. import classApplyDescriptorSet from "./classApplyDescriptorSet.js";
  2. import classExtractFieldDescriptor from "./classExtractFieldDescriptor.js";
  3. export default function _classPrivateFieldSet(receiver, privateMap, value) {
  4. var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
  5. classApplyDescriptorSet(receiver, descriptor, value);
  6. return value;
  7. }