1 | import _Reflect$get from "core-js/library/fn/reflect/get.js";
|
2 | import _Object$getOwnPropertyDescriptor from "core-js/library/fn/object/get-own-property-descriptor.js";
|
3 | import superPropBase from "./superPropBase.js";
|
4 | export default function _get() {
|
5 | if (typeof Reflect !== "undefined" && _Reflect$get) {
|
6 | _get = _Reflect$get.bind();
|
7 | } else {
|
8 | _get = function _get(target, property, receiver) {
|
9 | var base = superPropBase(target, property);
|
10 | if (!base) return;
|
11 | var desc = _Object$getOwnPropertyDescriptor(base, property);
|
12 | if (desc.get) {
|
13 | return desc.get.call(arguments.length < 3 ? target : receiver);
|
14 | }
|
15 | return desc.value;
|
16 | };
|
17 | }
|
18 | return _get.apply(this, arguments);
|
19 | } |
\ | No newline at end of file |