summaryrefslogtreecommitdiff
path: root/school/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js
blob: 71bbf1df4102d2463e71719d4e75e1657aeb3817 (plain)
1
2
3
4
5
6
7
8
9
10
11
function _classApplyDescriptorSet(receiver, descriptor, value) {
  if (descriptor.set) {
    descriptor.set.call(receiver, value);
  } else {
    if (!descriptor.writable) {
      throw new TypeError("attempted to set read only private field");
    }
    descriptor.value = value;
  }
}
module.exports = _classApplyDescriptorSet, module.exports.__esModule = true, module.exports["default"] = module.exports;