get.js 412 B

1234567891011
  1. import superPropBase from "./superPropBase.js";
  2. function _get() {
  3. return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) {
  4. var p = superPropBase(e, t);
  5. if (p) {
  6. var n = Object.getOwnPropertyDescriptor(p, t);
  7. return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value;
  8. }
  9. }, _get.apply(null, arguments);
  10. }
  11. export { _get as default };