GT2/Ejectable/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js

7 lines
172 B
JavaScript
Raw Normal View History

2021-08-16 00:14:59 +00:00
export default function _classApplyDescriptorGet(receiver, descriptor) {
if (descriptor.get) {
return descriptor.get.call(receiver);
}
return descriptor.value;
}