hexo/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js

6 lines
171 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
export default function _classApplyDescriptorGet(receiver, descriptor) {
if (descriptor.get) {
return descriptor.get.call(receiver);
}
return descriptor.value;
}